Introduction
Introduction Statistics Contact Development Disclaimer Help
Clear the temporary password buffer before returning. - susmb - mounting of SMB…
git clone git://git.codemadness.org/susmb
Log
Files
Refs
README
LICENSE
---
commit e0773f60e1fbeda2e34d77b43e6eb4758728fd73
parent 1e80c5eb0c78bc1824bcdb92010b6a3d25b0fa32
Author: Geoff Johnstone <[email protected]>
Date: Thu, 26 Jun 2008 21:43:23 +0100
Clear the temporary password buffer before returning.
Diffstat:
M password.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/password.c b/password.c
@@ -72,6 +72,8 @@ bool password_read (char **out)
}
*out = xstrdup (buff);
+ memset (buff, 0, sizeof (buff));
+
DEBUG (fprintf (stderr, "Password: %s\n", *out));
return (NULL != *out);
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.