Re: vasnprintf SEGV when %s arg is NULL



On Tue, 2006-08-15 at 10:54 -0400, Derek Atkins wrote:
> David Jafferian <David Jafferian 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





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]