summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/bitmap.c')
-rw-r--r--usr.bin/ssh/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ssh/bitmap.c b/usr.bin/ssh/bitmap.c
index ccb597c140d..b9df2c9f303 100644
--- a/usr.bin/ssh/bitmap.c
+++ b/usr.bin/ssh/bitmap.c
@@ -51,7 +51,7 @@ void
bitmap_free(struct bitmap *b)
{
if (b != NULL && b->d != NULL) {
- memset(b->d, 0, b->len);
+ explicit_bzero(b->d, b->len);
free(b->d);
}
free(b);