aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-12-14 12:14:13 +1030
committerAlan Modra <amodra@gmail.com>2022-12-14 13:07:43 +1030
commitd0517d6e333c4b6aaae411648628e2923e1f83aa (patch)
tree7456c999744e9b20a4d70dfa147dc25868a668e0 /gold
parentbd5efa59305b4f84da4d7ece171acf37ee2c99a4 (diff)
downloadfsf-binutils-gdb-d0517d6e333c4b6aaae411648628e2923e1f83aa.zip
fsf-binutils-gdb-d0517d6e333c4b6aaae411648628e2923e1f83aa.tar.gz
fsf-binutils-gdb-d0517d6e333c4b6aaae411648628e2923e1f83aa.tar.bz2
asan: signed integer overflow in display_debug_frames
* dwarf.c (struct Frame_Chunk): Make col_offset an int64_t. Adjust all places allocating col_offset and col_type to use the size of the array element rather than the size of a type. (frame_display_row): Adjust printing of col_offset. (display_debug_frames): Factor out multiplication by code_factor and data_factor. Avoid signed overflow. Use 64-bit variables.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions