diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-11-09 11:44:20 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-11-09 11:44:20 -0800 |
commit | 9c122c7f9c8260d2cceb1e8f29d69607531f43ba (patch) | |
tree | 7cfc3723e505de7edd8fad4e1654086477fc3d55 /gdb/ChangeLog | |
parent | 4b905ae1b4d5f90e5737ee01ab4b7149be8c1fe5 (diff) | |
download | gdb-9c122c7f9c8260d2cceb1e8f29d69607531f43ba.zip gdb-9c122c7f9c8260d2cceb1e8f29d69607531f43ba.tar.gz gdb-9c122c7f9c8260d2cceb1e8f29d69607531f43ba.tar.bz2 |
Fix unsigned overflow in minsyms reader.
Use a ssize_t helper variable for the number of bytes to shrink the
msymbols obstack rather than relying on unsigned overflow to shrink
the size of the obstack.
gdb/ChangeLog:
* minsyms.c (minimal_symbol_reader::install): Fix unsigned
overflow.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b6c612b..4a79364 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-11-09 John Baldwin <jhb@FreeBSD.org> + + * minsyms.c (minimal_symbol_reader::install): Fix unsigned + overflow. + 2018-11-09 Hafiz Abid Qadeer <abidh@codesourcery.com> * configure: Regenerate. |