mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +00:00
Fix a double-free and cache problem in nmap_dns
This commit is contained in:
parent
7852fa3c18
commit
f92265c91b
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ public:
|
|||
HostElem::isTimeToClean);
|
||||
while ( it != hosts_storage[i].end() )
|
||||
{
|
||||
hosts_storage[i].erase(it);
|
||||
it = hosts_storage[i].erase(it);
|
||||
assert(elements_count > 0);
|
||||
--elements_count;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue