vasnprintf SEGV when %s arg is NULL

David Hampton hampton-gnucash at rainbolthampton.net
Tue Aug 15 13:50:34 EDT 2006


On Tue, 2006-08-15 at 10:54 -0400, Derek Atkins wrote:
> David Jafferian <David.Jafferian at Sun.COM> writes:
> > It looks like that NULL has been there since this function was first
> > created, but something should replace it.  I don't know enough
> > about this code to suggest what should be put there, but replacing
> > NULL with "(nil)" made the crash go away.
> 
> Yep.  See above..
> 
> Maybe David will respond to this.

I committed a fix for this last night.  I'm waiting for a review to
back-port the fix into the 2.0 branch.

David




More information about the gnucash-devel mailing list