| commit | d0517d6e333c4b6aaae411648628e2923e1f83aa | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Dec 14 12:14:13 2022 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Wed Dec 14 13:07:43 2022 +1030 |
| tree | 7456c999744e9b20a4d70dfa147dc25868a668e0 | |
| parent | bd5efa59305b4f84da4d7ece171acf37ee2c99a4 [diff] |
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.