aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-07-26 12:58:52 +0930
committerAlan Modra <amodra@gmail.com>2019-07-26 13:05:16 +0930
commit8e2e3c6c346c1c8142e714715e5a86b32f7e31ea (patch)
treef37c408660f255113544c75cda01fd0d8dc4580d /gdb/stack.c
parent6dd17ae0f9b0d9fc230e75ce345da9793498554d (diff)
downloadbinutils-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.zip
binutils-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.tar.gz
binutils-8e2e3c6c346c1c8142e714715e5a86b32f7e31ea.tar.bz2
PR24798, buffer overflow in process_cu_tu_index
PR 24798 * dwarf.c (process_cu_tu_index): Avoid integer overflow on 64-bit systems by casting ncols and nslots expressions to size_t. Display number of columns and slots before giving up due to buffer overflow. Use %u to display unsigned ints. Perform more pointer wrap tests.
Diffstat (limited to 'gdb/stack.c')
0 files changed, 0 insertions, 0 deletions