Skip to content
Commit ac8047cd authored by Florian Weimer's avatar Florian Weimer
Browse files

malloc: Simplify implementation of __malloc_assert



It is prudent not to run too much code after detecting heap
corruption, and __fxprintf is really complex.  The line number
and file name do not carry much information, so it is not included
in the error message.  (__libc_message only supports %s formatting.)
The function name and assertion should provide some context.

Reviewed-by: default avatarSiddhesh Poyarekar <siddhesh@sourceware.org>
parent 8b84fb86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment