ftpd in debug mode crashes in vsyslog

Tim Robbins tjr at freebsd.org
Wed May 12 23:24:11 PDT 2004

On Thu, May 13, 2004 at 06:06:20PM +1200, Joerg Micheel wrote:

> Hi Tim,
> On Thu, May 13, 2004 at 03:38:38PM +1000, Tim Robbins wrote:
> > Thanks for the report - I've committed a fix to -current.
> Great! So .. without looking at -current, what was the issue ?

It was passing a va_list to vprintf() then to vsyslog() without
reinitializing it between calls, which results in "unspecified
behiavour" according to the C standard; on i386 the behaviour
happened to be right, but on amd64 it caused garbage to be passed
to vsyslog().


More information about the freebsd-amd64 mailing list