Uninitialised Variable in symfile.c

Daniel Jacobowitz drow@false.org
Mon May 16 10:21:00 GMT 2005


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



More information about the Gdb-patches mailing list