[PATCH] Fix unsigned overflow in minsyms reader.

Kevin Buettner kevinb@redhat.com
Fri Nov 9 04:13:00 GMT 2018


On Tue,  6 Nov 2018 11:04:23 -0800
John Baldwin <jhb@FreeBSD.org> wrote:

> 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.

Okay.

Kevin



More information about the Gdb-patches mailing list