diff options
Diffstat (limited to 'missing')
-rw-r--r-- | missing/explicit_bzero.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/explicit_bzero.c b/missing/explicit_bzero.c index 061e72f800..baa4624d13 100644 --- a/missing/explicit_bzero.c +++ b/missing/explicit_bzero.c @@ -49,7 +49,7 @@ ruby_explicit_bzero_hook_unused(void *buf, size_t len) void explicit_bzero(void *b, size_t len) { - memset(b, len); + memset(b, 0, len); ruby_explicit_bzero_hook_unused(b, len); } |