Nmap Development mailing list archives

[PATCH] timing.cc integer overflow


From: Henri Doreau <henri.doreau () gmail com>
Date: Sun, 25 Jan 2009 23:54:25 +0100

Hello,

Please find attached an attempt to fix the integer overflow in the
printStats method of ScanProgressMeter (timing.cc). Now the method
doesn't print out negative values anymore and uses unsigned long
integers.
I'm wondering about implementing an additional check in this function,
for really long scans... please tell me you opinion about it.

Cheers


Henri

Attachment: timing.cc.patch
Description:


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

Current thread: