diff options
| author | christos <christos@NetBSD.org> | 2006-07-19 14:28:03 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-07-19 14:28:03 +0000 |
| commit | 5ad2e5a717df4705e7ae79c65d8cd211ca3cbca1 (patch) | |
| tree | a1b6142390a9b89dc41729cedbacad232ef20226 /gnu | |
| parent | ae46aa1c5ad75dc14e601d657e091f6835c6e3c8 (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.c | 1 |
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; |
