aboutsummaryrefslogtreecommitdiffstats
path: root/src/strings
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/strings/explicit_bzero.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/strings/explicit_bzero.c b/src/strings/explicit_bzero.c
index 42e46b4..af37ea5 100644
--- a/src/strings/explicit_bzero.c
+++ b/src/strings/explicit_bzero.c
@@ -42,6 +42,7 @@ void* (*volatile __slibc_explicit_memset)(void*, int, size_t) = memset;
*/
void explicit_bzero(void* segment, size_t size)
{
+ __slibc_explicit_memset(segment, ~0, size);
__slibc_explicit_memset(segment, 0, size);
}