Nmap Development mailing list archives

Re: nmap stack overflow in output subsystem


From: David Fifield <david () bamsoftware com>
Date: Tue, 3 Jul 2012 10:06:00 -0700

On Tue, Jul 03, 2012 at 12:03:49PM -0500, Daniel Miller wrote:
On 07/03/2012 06:46 AM, Henri Doreau wrote:
2012/7/3 David Fifield <david () bamsoftware com>:
Your patch looks right to me. It was my mistake in r29083. Your fix to
log_vwrite is better than reverting that revision.

David Fifield
Thanks, checked in as r29112.

Henri,

This breaks when doing OS detection with due to the LOG_SKID_NOXLT
log type. The crash looks like this:
OS:83548)T4(P=6000{4}140635XX{32}0050ab4844827f6800{4}500400002c560000%ST=
OS:0.949341%RT=1.0336)EXTRA(FL=12345)

nmap: output.cc:960: void log_vwrite(int, const char*, va_list):
Assertion `fileidx < 4' failed.

Looks good.

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: