mount.cifs: continued cleanup of open_cred_file and zero out buffer
authorScott Lovenberg <scott.lovenberg@gmail.com>
Sun, 25 Apr 2010 13:35:13 +0000 (09:35 -0400)
committerJeff Layton <jlayton@samba.org>
Sun, 25 Apr 2010 13:35:13 +0000 (09:35 -0400)
commit6c917ebf360b3dbbc4c7ad9af3e106170528aa3c
tree72d44d8b52b830479bafd1efba8c1c1cdae68a70
parent605412558bc4b368ee656e75f80bc41d3966e1e5
mount.cifs: continued cleanup of open_cred_file and zero out buffer

The parsing for values has been moved to its own function and is a bit
cleaner. Temporary buffers are zeroed out before being freed to ensure
passwords/credentials aren't left in released memory.

Signed-off-by: Scott Lovenberg <scott.lovenberg@gmail.com>
Signed-off-by: Jeff Layton <jlayton@samba.org>
mount.cifs.c