diff options
author | Maciej W. Rozycki <macro@embecosm.com> | 2023-02-24 12:37:22 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@embecosm.com> | 2023-02-24 12:37:22 +0000 |
commit | 0676ec3c22f096bdf98b145b720feeef9493b5bb (patch) | |
tree | 1acba1333ae32b7087ed420aa4c76f39f3092314 /gas/testsuite/gas/elf/section2.e-rl78 | |
parent | 7b1792f543161424ce60ff28b9d012a590e220b2 (diff) | |
download | binutils-gdb-0676ec3c22f096bdf98b145b720feeef9493b5bb.tar.gz |
GDB: Fix out of bounds accesses with limited-length values
Fix accesses to limited-length values in `contents_copy_raw' and
`contents_copy_raw_bitwise' so that they observe the limit of the
original allocation.
Reported by Simon Marchi as a heap-buffer-overflow AddressSanitizer
issue triggered with gdb.ada/limited-length.exp.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gas/testsuite/gas/elf/section2.e-rl78')
0 files changed, 0 insertions, 0 deletions