mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
PR29799 heap buffer overflow in display_gdb_index dwarf.c:10548
PR 29799 * dwarf.c (display_gdb_index): Typo fix.
This commit is contained in:
parent
7828dfa93b
commit
69bfd1759d
@ -10545,7 +10545,7 @@ display_gdb_index (struct dwarf_section *section,
|
||||
{
|
||||
uint64_t low = byte_get_little_endian (address_table + i * 20, 8);
|
||||
uint64_t high = byte_get_little_endian (address_table + i * 20 + 8, 8);
|
||||
uint32_t cu_index = byte_get_little_endian (address_table + i + 20 + 16, 4);
|
||||
uint32_t cu_index = byte_get_little_endian (address_table + i * 20 + 16, 4);
|
||||
|
||||
print_hex (low, 8);
|
||||
print_hex (high, 8);
|
||||
|
Loading…
Reference in New Issue
Block a user