bsdtar core dumps

David O'Brien obrien at
Wed Aug 25 11:17:49 PDT 2004

On Tue, Aug 24, 2004 at 03:17:28PM -0700, Sean McNeil wrote:
> > > SM>> You cannot use a va_list twice. As soon as someone call
> > > va_arg() on the SM>> ap all the aps in the calling functions get
> > > invalid. The only thing that SM>> can and must be done is that the
> > > function that did the va_start() must SM>> call va_end.
> I missed one in vfwprintf.c.  I needs a va_end(orgap) just like above.
> Also, I've searched all of src and found one additional place that there
> is a va_copy without a va_end.
> contrib/gnu-sort/lib/version-etc.c
> All other uses appear to be properly matched.

Can you please make a new, complete patch?
I'll commit it ASAP.
-- David  (obrien at

More information about the freebsd-current mailing list