summaryrefslogtreecommitdiffstats
path: root/security/nss/coreconf/nsinstall/pathsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/coreconf/nsinstall/pathsub.c')
-rw-r--r--security/nss/coreconf/nsinstall/pathsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/coreconf/nsinstall/pathsub.c b/security/nss/coreconf/nsinstall/pathsub.c
index a42a9f30a..c31a946f0 100644
--- a/security/nss/coreconf/nsinstall/pathsub.c
+++ b/security/nss/coreconf/nsinstall/pathsub.c
@@ -212,7 +212,7 @@ reversepath(char *inpath, char *name, int len, char *outpath)
xchdir("..");
} else {
cp -= 3;
- strncpy(cp, "../", 3);
+ memcpy(cp, "../", 3);
xchdir(buf);
}
}