1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-05 04:56:34 +00:00

About to work on Nmap infinite loop reported by everdream

This commit is contained in:
fyodor
2006-02-16 22:50:02 +00:00
parent 311300b550
commit bd46c3ae39
6 changed files with 28 additions and 20 deletions

View File

@@ -1658,7 +1658,7 @@ static void adjustPortStateIfNeccessary(ServiceNFO *svc) {
char host[128];
if (svc->port->state == PORT_OPENFILTERED) {
svc->port->state = PORT_OPEN;
svc->target->ports.addPort(svc->portno, svc->proto, NULL, PORT_OPEN);
if (o.verbose || o.debugging > 1) {
svc->target->NameIP(host, sizeof(host));