diff options
author | Jim Meyering <jim@meyering.net> | 1995-02-27 14:09:10 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-02-27 14:09:10 +0000 |
commit | 30d09ddbedec96bab5cb18e0a75107dba8f9142e (patch) | |
tree | 016b0343994e561b59aa85e4283e8e75f6eaa059 /src | |
parent | 617dbb12c2a6a7c5fbc187c7bc42428220fe0aab (diff) | |
download | coreutils-30d09ddbedec96bab5cb18e0a75107dba8f9142e.tar.xz |
(correct_password): Use memset instead of bzero.
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; } |