This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix unsigned overflow in minsyms reader.
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 8 Nov 2018 21:13:03 -0700
- Subject: Re: [PATCH] Fix unsigned overflow in minsyms reader.
- References: <20181106190423.70494-1-jhb@FreeBSD.org>
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