This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug malloc/24775] Please add a secure way to clear and free memory


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]