diff options
author | 2019-10-21 16:19:45 +0200 | |
---|---|---|
committer | 2019-10-21 16:19:45 +0200 | |
commit | b2a34639125dde4c6da7fc840d25a20c3f5caa90 (patch) | |
tree | 7182fb26bac994ea5c4af867bb8316c12950fe41 /VNFs/DPPD-PROX/prox_args.c | |
parent | c187a8d297492a2414451d790988dd0ae0088bc6 (diff) |
Fix two strncpy issues introduced by fb0c44a8
Change-Id: Ic452b22dc2522a1b49e3091cb25f2784bc505b41
Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
Diffstat (limited to 'VNFs/DPPD-PROX/prox_args.c')
-rw-r--r-- | VNFs/DPPD-PROX/prox_args.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/VNFs/DPPD-PROX/prox_args.c b/VNFs/DPPD-PROX/prox_args.c index 17b3298d..a5d10a60 100644 --- a/VNFs/DPPD-PROX/prox_args.c +++ b/VNFs/DPPD-PROX/prox_args.c @@ -242,7 +242,7 @@ const char *get_cfg_dir(void) while (end > 0 && cfg_file[end] != '/') end--; - prox_strncpy(dir, cfg_file, end); + strncpy(dir, cfg_file, end); return dir; } |