]> 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)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 22 Jan 2025 16:10:37 +0000 (17:10 +0100)
commitc32fd59314c343db88c3ea4a203870481d33c3d2
treebeae8c477eb0d03b373fa7276e9be526ac64f108
parent549e7f7c5a94f5ccbab2ad5f1babca05028a31c7
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>
(cherry picked from commit 68ee0f704cb81e9ad0a78c644a83e1e9cd2ee578)
NEWS
assert/assert.c
sysdeps/posix/libc_fatal.c