]> git.ipfire.org Git - thirdparty/glibc.git/commit
Fix underallocation of abort_msg_s struct (CVE-2025-0395)
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 21 Jan 2025 21:11:06 +0000 (16:11 -0500)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 22 Jan 2025 13:17:17 +0000 (08:17 -0500)
commit68ee0f704cb81e9ad0a78c644a83e1e9cd2ee578
treec7861b86f905e2966f95153a0aac1cf89237ad53
parentd4626340b997d662ddca4a48f8a3bf03ccb7a603
Fix underallocation of abort_msg_s struct (CVE-2025-0395)

Include the space needed to store the length of the message itself, in
addition to the message string.  This resolves BZ #32582.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
assert/assert.c
sysdeps/posix/libc_fatal.c