diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-02-06 13:35:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 13:35:56 +0100 |
commit | 9194199c9894c5fd4f497fbbf5fc0449686c8fe5 (patch) | |
tree | 28fcef4121e585704b6d695d2113a037a165141e /src/reply-password/reply-password.c | |
parent | 65c8834942a5ca2d2016f28c4dfc6738a717ed69 (diff) | |
parent | 1075122f42211ddb319126d6713a68a05056cd9d (diff) |
Merge pull request #5237 from keszybz/explicit-bzero
Use `explicit_bzero`
Diffstat (limited to 'src/reply-password/reply-password.c')
-rw-r--r-- | src/reply-password/reply-password.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reply-password/reply-password.c b/src/reply-password/reply-password.c index 17eab9772e..a17c8a62b8 100644 --- a/src/reply-password/reply-password.c +++ b/src/reply-password/reply-password.c @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { r = send_on_socket(fd, argv[2], packet, length); finish: - memory_erase(packet, sizeof(packet)); + explicit_bzero(packet, sizeof(packet)); return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS; } |