mirror of
https://github.com/nmap/nmap.git
synced 2025-12-17 13:09:02 +00:00
There was a reverse table that was meant to map keys to their position in the order table, to make it easy to table.remove an entry from order. But removing something from order would shift the indices of all following elements by 1, and those elements were not updated correspondingly in the reverse table. Instead, do a linear lookup for the the element to remove from order, after checking that the element exists at all. http://seclists.org/nmap-dev/2012/q3/905
36 KiB
36 KiB