aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python-internal.h
diff options
context:
space:
mode:
authorIndu Bhagat <indu.bhagat@oracle.com>2025-06-03 23:10:46 -0700
committerIndu Bhagat <indu.bhagat@oracle.com>2025-06-03 23:10:46 -0700
commitd984b08bb707a732358341b44b444c1c9860b287 (patch)
tree06311d534b30730b6fb442f7c6963d0a9fcd6341 /gdb/python/python-internal.h
parent062184b9eb19fa3ef054f8138b94e518e0d77c05 (diff)
downloadbinutils-d984b08bb707a732358341b44b444c1c9860b287.zip
binutils-d984b08bb707a732358341b44b444c1c9860b287.tar.gz
binutils-d984b08bb707a732358341b44b444c1c9860b287.tar.bz2
sframe: fix PR libsframe/33051
Fix PR libsframe/Bug 33051 - ASAN: heap-buffer-overflow ../../src/libsframe/sframe.c:1054 in sframe_get_funcdesc_with_addr_internal The previous commit 9d2a24349e2 (libsframe: correct binary search for SFrame FDE) adapted the binary search logic in sframe_get_funcdesc_with_addr_internal. Adjusting the upper end of the search index was missed. The search must only be done for FDEs starting at index 0 and up until num_fdes - 1. Prior logic of searching (before commit 9d2a24349e2) was a bit different. libsframe/ * sframe.c: Use the correct high index.
Diffstat (limited to 'gdb/python/python-internal.h')
0 files changed, 0 insertions, 0 deletions