diff options
author | Alan Modra <amodra@gmail.com> | 2024-04-01 19:58:53 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-04-01 21:21:51 +1030 |
commit | 159daa36fab5c2c0df88b6e9fd4cda4e560c3f9f (patch) | |
tree | 97e503ee4efcbb9e4f7081d575a156fba86f3f0e /gdb/python/python.h | |
parent | b67a17aa7c0c478a2f2c2f045854e9745abfe114 (diff) | |
download | binutils-159daa36fab5c2c0df88b6e9fd4cda4e560c3f9f.zip binutils-159daa36fab5c2c0df88b6e9fd4cda4e560c3f9f.tar.gz binutils-159daa36fab5c2c0df88b6e9fd4cda4e560c3f9f.tar.bz2 |
asan: heap-buffer-overflow objdump.c:3299 in disassemble_bytes
Fix yet another crash, this one with a fuzzed function symbol size.
The patch also corrects objdump behaviour when both --disassemble=sym
and --stop-address=value are given. Previously --disassemble=sym
overrode --stop-address, now we take the lower of the stop-address
value and the end of function.
* objdump.c (disassemble_section): Sanity check ELF st_size.
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions