summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-07-19 14:28:03 +0000
committerchristos <christos@NetBSD.org>2006-07-19 14:28:03 +0000
commit5ad2e5a717df4705e7ae79c65d8cd211ca3cbca1 (patch)
treea1b6142390a9b89dc41729cedbacad232ef20226 /gnu
parentae46aa1c5ad75dc14e601d657e091f6835c6e3c8 (diff)
make sure we zero the password before we free it Takehiko NOZAKI
Diffstat (limited to 'gnu')
-rw-r--r--gnu/dist/xcvs/src/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/dist/xcvs/src/login.c b/gnu/dist/xcvs/src/login.c
index fe95544a034..2f1b4dcbef8 100644
--- a/gnu/dist/xcvs/src/login.c
+++ b/gnu/dist/xcvs/src/login.c
@@ -569,6 +569,7 @@ login (argc, argv)
memset (typed_password, 0, strlen (typed_password));
free (typed_password);
+ memset (cvs_password, 0, strlen (cvs_password));
free (cvs_password);
free (cvsroot_canonical);
cvs_password = NULL;