Nmap Development mailing list archives
Re: cppcheck on nmap
From: Reijo Tomperi <aggro80 () users sourceforge net>
Date: Thu, 17 Dec 2009 01:06:37 +0200
Hi, I am one of the Cppcheck developers and I noticed this on your mailing list: > 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 eraseI'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:
http://sourceforge.net/apps/trac/cppcheck/ticket/1107 -- 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)
