https://sourceware.org/bugzilla/show_bug.cgi?id=34383
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
CC| |mark at klomp dot org
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Thansk again. There should obviously have been a sanity check just before the
unit_length read.
commit 6f8f78ce4a1b56f96f2db531cc2c9eddb5be1fc3
Author: Mark Wielaard <[email protected]>
Date: Thu Jul 9 22:56:56 2026 +0200
libdw: Check there are any header bytes in str_offsets_base_off
We tried to read the str_offsets header length and only then checked
if there were any bytes left. Make sure to check there are at least 4
bytes for the initial unit length.
* libdw/libdwP.h (str_offsets_base_off): Check before initial
unit_length read.
https://sourceware.org/bugzilla/show_bug.cgi?id=34383
Reported-by: Karan Kurani <[email protected]>
Signed-off-by: Mark Wielaard <[email protected]>
--
You are receiving this mail because:
You are on the CC list for the bug.