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/ChangeLog | |
parent | 52563b0f1c5516930b4507861d261529483a5e83 (diff) | |
download | gdb-4a68fcd7f7da92d47f0f41df15fea30f790ed06c.zip gdb-4a68fcd7f7da92d47f0f41df15fea30f790ed06c.tar.gz 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/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b4088cf..8ab1d35 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,15 @@ 2021-02-09 Nick Clifton <nickc@redhat.com> + 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. + +2021-02-09 Nick Clifton <nickc@redhat.com> + PR 27355 * testsuite/gas/elf/pr27355.s: New test source file. * testsuite/gas/elf/pr27355.d: New test control file. |