]> 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:11:54 +0000 (17:11 +0100)
commita3d7865b098a3a67c44f7812208d9ce4718873ba
treec6d9f828f92a7c029d043b0c5508dd6702e46576
parent9083997843049718dbab03ce991f959f359128a7
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