| commit | 161e87d12167b1e36193385485c1f6ce92f74f02 | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Wed Dec 15 11:48:42 2021 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Wed Dec 15 11:51:26 2021 +1030 |
| tree | 361204d128f1a80bb5a8ab7d7849b568e97d0807 | |
| parent | d5c94731766bf4f276146fd29c1df8eebc2aaf69 [diff] |
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.