diff options
author | Alan Modra <amodra@gmail.com> | 2022-08-17 15:43:25 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-17 16:32:04 +0930 |
commit | 2bda15d73cb1d6c4e3db402682d4c11a94d96b7b (patch) | |
tree | d06520d45c06bd156dd00a2ef3445e1f2d035a27 /gdb/testsuite/gdb.python | |
parent | 11c6a7c6232c2fcd23058dcb9ac7909e491e02bc (diff) | |
download | binutils-2bda15d73cb1d6c4e3db402682d4c11a94d96b7b.zip binutils-2bda15d73cb1d6c4e3db402682d4c11a94d96b7b.tar.gz binutils-2bda15d73cb1d6c4e3db402682d4c11a94d96b7b.tar.bz2 |
asan: heap buffer overflow in mmo_scan
mmo_get_loc needs to handle arbitrary vma and size chunks. Fuzzers
found that it wasn't working so well when the end of chunks were
getting close to address wrap-around.
* mmo.c (mmo_get_loc): Make "size" unsigned. Avoid arithmetic
overflow when calculating whether range hits an existing chunk.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions