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 undefined after the return of that function.

This causes crashes on AMD64 in some cases.

The patch available at
http://err.no/patches/nmap_3.81-2_3.81-2ubuntu1-varargs.diff corrects
this.

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to