From: Ilpo Järvinen (email@example.com)
Date: Thu, 5 Jan 2006 14:27:49 +0200 (EET) From: "Ilpo Järvinen" <firstname.lastname@example.org> Subject: Re: tcptrace-bugs Static variable returns of HostName() are not consider by callers Message-ID: <Pine.LNX.email@example.com>
On Wed, 4 Jan 2006, Joshua Blanton wrote:
> Hm, it seems to me that the suggested fix is sufficient... In the
> case of printf() (and any other function that would potentially
> re-use the pointer more than once in an instance) we need to do some
> clean-up - but in the case of printf(), the cleanup is trivial.
> Just split the line printed into multiple lines and it All Gets
> Better. Existing code is already safe from this bug, other than
> debug messages, so why not just fix the debug messages?
Here's a patch about the modifications I've done to fix this bug earlier,
in case you want to use splitted printf() approach...
This archive was generated by hypermail 2.1.7 : 01/05/06 EST