This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: Uninitialised Variable in symfile.c
- From: Daniel Jacobowitz <drow at false dot org>
- To: Steven Johnson <sjohnson at neurizon dot net>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 15 May 2005 21:24:22 -0400
- Subject: Re: Uninitialised Variable in symfile.c
- References: <42890F82.8010005@neurizon.net>
On Mon, May 16, 2005 at 10:24:18AM -1100, Steven Johnson wrote:
> There is a codepath is "load_section_callback" where the variable "err"
> will not end up being assigned a value, and hence will default to
> whatever happened to be on the stack at its location. And in my case,
> it was defaulting to a vlaue which signaled an error, when none had occured.
This is already fixed in CVS, several months ago.
--
Daniel Jacobowitz
CodeSourcery, LLC