More bounds checking in macro_expand
authorAlan Modra <amodra@gmail.com>
Wed, 1 Mar 2023 21:42:00 +0000 (08:12 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 1 Mar 2023 21:46:02 +0000 (08:16 +1030)
commit6e1ee99772d2f0c07b4a2c65f3c1593fbf55d9c1
tree730c7ae589555949719874d8587588fc4dc0938e
parent40e7bdbddc8ba144ae90641be58d6ac939ba096b
More bounds checking in macro_expand

* macro.c (macro_expand): Ensure input string buffer is not
read past end.
gas/macro.c