1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
Files
nmap/targets.cc
david 262ec8f7d7 Keep a std::string in scope when accessing its c_str.
The std::string was being created and deleted in a single statement, so
its c_str pointer pointed to freed memory. This could be seen with

valgrind nmap --exclude foo
2011-07-29 20:43:31 +00:00

20 KiB