diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-07-21 12:12:08 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-07-21 16:33:04 +0200 |
commit | ac8047cdf326504f652f7db97ec96c0e0cee052f (patch) | |
tree | d74a86968b1d297541e13302521e0a6170238570 /include/shlib-compat.h | |
parent | 8b84fb862c3c212b294b5f7bf443cb8372dc5376 (diff) | |
download | glibc-ac8047cdf326504f652f7db97ec96c0e0cee052f.tar.gz glibc-ac8047cdf326504f652f7db97ec96c0e0cee052f.tar.xz glibc-ac8047cdf326504f652f7db97ec96c0e0cee052f.zip |
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: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'include/shlib-compat.h')
0 files changed, 0 insertions, 0 deletions