bsdtar core dumps

Maxim Konovalov maxim at macomnet.ru
Sat Aug 21 10:36:23 PDT 2004


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


More information about the freebsd-current mailing list