This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix unsigned overflow in minsyms reader.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]