This is the mail archive of the gdb-patches@sources.redhat.com 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: Uninitialised Variable in symfile.c


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


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