Re: bsdtar core dumps

From: Maxim Konovalov <maxim_at_macomnet.ru>
Date: Sat, 21 Aug 2004 21:35:57 +0400 (MSD)
On Sat, 21 Aug 2004, 10:19-0700, Tim Kientzle wrote:

[...]
> The code you've pointed to above concerns
> me because of the part about:
> if (n == 0) {
> ...
> n = 1;
>     }
> That ain't right:  If I told vsnprintf the buffer
> size was zero, it should treat it as such.  If I
> meant "one", I would have said "one."

That code was committed in rev. 1.21 vsnprintf.c, a workaround for a
memory leak, bin/36175.

-- 
Maxim Konovalov
Received on Sat Aug 21 2004 - 15:36:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC