This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug malloc/24775] Please add a secure way to clear and free memory
- From: "toiwoton at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 06 Jul 2019 16:22:37 +0000
- Subject: [Bug malloc/24775] Please add a secure way to clear and free memory
- Auto-submitted: auto-generated
- References: <bug-24775-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=24775
--- Comment #7 from Topi Miettinen <toiwoton at gmail dot com> ---
(In reply to Florian Weimer from comment #6)
> This is a bug in Msan. It needs to interpose malloc_usable_size and return
> the value that it thinks is the correct allocation size. It's what the
> implementation of Address Sanitizer in GCC does.
Yes, I suppose that's the right approach compared to a new function in libc.
This bug can be closed. Thanks for the quick responses.
Strangely MSan also seems to do just that and this part hasn't changed in 5
years. I'll check what was the original issue we encountered.
--
You are receiving this mail because:
You are on the CC list for the bug.