Skip to content
Commit 0676ec3c authored by Maciej W. Rozycki's avatar Maciej W. Rozycki
Browse files

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: default avatarSimon Marchi <simon.marchi@efficios.com>
parent 7b1792f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment