diff options
author | Alan Modra <amodra@gmail.com> | 2021-12-15 11:48:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-12-15 11:51:26 +1030 |
commit | 161e87d12167b1e36193385485c1f6ce92f74f02 (patch) | |
tree | 361204d128f1a80bb5a8ab7d7849b568e97d0807 /bfd | |
parent | d5c94731766bf4f276146fd29c1df8eebc2aaf69 (diff) | |
download | gdb-161e87d12167b1e36193385485c1f6ce92f74f02.zip gdb-161e87d12167b1e36193385485c1f6ce92f74f02.tar.gz gdb-161e87d12167b1e36193385485c1f6ce92f74f02.tar.bz2 |
PR28694, Out-of-bounds write in stab_xcoff_builtin_type
PR 28694
* stabs.c (stab_xcoff_builtin_type): Make typenum unsigned.
Negate typenum earlier, simplifying bounds checking. Correct
off-by-one indexing. Adjust switch cases.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions