8fc2ef9 Resolves: #191834

Authored and Committed by nhosoi 15 years ago
    Resolves: #191834
    Summary: Clean up admin password in memory when it's freed
    Description: (comment #5)
    1) overwrote password string with '\0's.
    2) psetCreate (psetc.c), psetCreateSSL (psetcssl.c)
    Both has the similar code "passwd = bindPasswd; /* not to free bindPasswd */".
    According to the comment, by setting bindPasswd to passwd, bindPasswd is not
    supposed to be freed.  But the current location does not stop it's being freed
    since at that point bindPasswd is NULL and NULL is set to passwd.  (Probably,
    the path is not usually taken.)
    
        
file modified
+18 -16
file modified
+18 -6
file modified
+12 -3
file modified
+15 -3
file modified
+9 -4