diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/su.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -344,7 +344,7 @@ correct_password (pw) return 0; } encrypted = crypt (unencrypted, correct); - bzero (unencrypted, strlen (unencrypted)); + memset (unencrypted, 0, strlen (unencrypted)); return strcmp (encrypted, correct) == 0; } |