asan: heap buffer overflow in pa_chk_field_selector
authorAlan Modra <amodra@gmail.com>
Mon, 28 Mar 2022 07:21:30 +0000 (17:51 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 29 Mar 2022 00:57:23 +0000 (11:27 +1030)
commit1fc6fa2f1be66d99007bc2dba90f2c57f941bf58
tree16a508481090acb6231912261c4aab7971619dec
parent4a02e01a71fd8086361dee879cc07b93d57e25ab
asan: heap buffer overflow in pa_chk_field_selector

The buffer overflow showed up running the gas "all macro" test.

PR 29005
* config/tc-hppa.c (pa_chk_field_selector): Don't read past end
of line.
gas/config/tc-hppa.c