Bug#324843: nmap: illegal use of varargs

2005-08-24 Thread Fyodor
On Wed, Aug 24, 2005 at 01:38:50PM +0200, Tollef Fog Heen wrote: > > > it appears that output.cc:log_write is a bit buggy. In some cases, > vsnprintf or vfprintf will be called multiple times with the same > vararg argument. This is illegal according to va_start(3): We don't have a stable vers

Bug#324843: nmap: illegal use of varargs

2005-08-24 Thread Tollef Fog Heen
Package: nmap Hi, it appears that output.cc:log_write is a bit buggy. In some cases, vsnprintf or vfprintf will be called multiple times with the same vararg argument. This is illegal according to va_start(3): If ap is passed to a function that uses va_arg(ap,type) then the value of ap is