diff options
author | Ian Lance Taylor <iant@golang.org> | 2025-01-30 15:20:23 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2025-01-30 15:23:46 -0800 |
commit | 5d43c3f08bca01c48aac851e1195f03b9319091d (patch) | |
tree | 35cb184a8aa12234566d4502bc88a83c68c336e0 /gcc | |
parent | dd5978b2f0087579c25486f97e578c9eb76f3449 (diff) | |
download | gcc-5d43c3f08bca01c48aac851e1195f03b9319091d.zip gcc-5d43c3f08bca01c48aac851e1195f03b9319091d.tar.gz gcc-5d43c3f08bca01c48aac851e1195f03b9319091d.tar.bz2 |
libbacktrace: add casts to avoid undefined shifts
Patch from pgerell@github.
* elf.c (elf_fetch_bits): Add casts to avoid potentially shifting
a value farther than its type size.
(elf_fetch_bits_backward): Likewise.
(elf_uncompress_lzma_block): Likewise.
(elf_uncompress_lzma): Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions