diff options
author | Nick Clifton <nickc@redhat.com> | 2021-02-09 12:53:32 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2021-02-09 12:53:32 +0000 |
commit | 4a68fcd7f7da92d47f0f41df15fea30f790ed06c (patch) | |
tree | fea666ca189d56117d8ff25a6dbb2a53738f3553 /gas/configure.tgt | |
parent | 52563b0f1c5516930b4507861d261529483a5e83 (diff) | |
download | fsf-binutils-gdb-4a68fcd7f7da92d47f0f41df15fea30f790ed06c.zip fsf-binutils-gdb-4a68fcd7f7da92d47f0f41df15fea30f790ed06c.tar.gz fsf-binutils-gdb-4a68fcd7f7da92d47f0f41df15fea30f790ed06c.tar.bz2 |
Prevent a bad .Psize expression from triggering a memory access violation.
PR 27384
* listing.c (listing_psize): Check the result of the width
expression before assigning it to paper_width.
* testsuite/gas/all/pr27384.s: New test source file.
* testsuite/gas/all/pr27384.d: New test control file.
* testsuite/gas/all/pr27384.err: Expected errors from new test.
* testsuite/gas/all/gas.exp: Run the new test.
Diffstat (limited to 'gas/configure.tgt')
0 files changed, 0 insertions, 0 deletions