Nmap Development mailing list archives
Re: cppcheck on nmap
From: Reijo Tomperi <aggro80 () users sourceforge net>
Date: Sat, 19 Dec 2009 01:54:12 +0200
David Fifield wrote:
On Thu, Dec 17, 2009 at 01:06:37AM +0200, Reijo Tomperi wrote:I am one of the Cppcheck developers and I noticed this on your mailing list:I'm posting this to inform you that all of these are false positives (Cppcheck assumed that vector was used, when list was used instead). I created a ticket about it for us:here is a scan of cppcheck over Nmap 5.10BETA1: [.\osscan2.cc:2942]: (error) Dangerous usage of erase [.\output.cc:354]: (error) Dangerous usage of erase [.\scan_engine.cc:1802]: (error) Dangerous usage of erase [.\scan_engine.cc:1849]: (error) Dangerous usage of erase [.\traceroute.cc:1253]: (error) Dangerous usage of erasehttp://sourceforge.net/apps/trac/cppcheck/ticket/1107
The ticket is now fixed. These false positives do not show up anymore with the trunk version of Cppcheck.
-- Reijo _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- cppcheck on nmap Armin Müller (Dec 01)
- Re: cppcheck on nmap David Fifield (Dec 11)
- <Possible follow-ups>
- Re: cppcheck on nmap Reijo Tomperi (Dec 16)
- Re: cppcheck on nmap David Fifield (Dec 18)
- Re: cppcheck on nmap Reijo Tomperi (Dec 18)
- Re: cppcheck on nmap David Fifield (Dec 18)