Switch two calls from memset() to explicit_bzero()
authortb <tb@openbsd.org>
Sun, 19 Sep 2021 09:15:22 +0000 (09:15 +0000)
committertb <tb@openbsd.org>
Sun, 19 Sep 2021 09:15:22 +0000 (09:15 +0000)
commit5576bc40c43cc6479ec8d4fccc16927073e664fb
treee307897d027fc3f69b114a6f9a5761825fa53528
parent17a65261d3ac8b99dd46cf3147eb914edf6b30bb
Switch two calls from memset() to explicit_bzero()

This matches the documented behavior more obviously and ensures that
these aren't optimized away, although this is unlikely.

Discussed with deraadt and otto
lib/libc/stdlib/malloc.c