Nmap Development mailing list archives

Re: [NSE patch] port or service not matching ports


From: Fyodor <fyodor () insecure org>
Date: Fri, 4 Jan 2008 23:22:56 -0800

On Fri, Jan 04, 2008 at 04:54:47PM +0100, Sven Klemm wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sven Klemm wrote:
Hi everyone,

the port_or_service function in the shortport library does not match
ports because the port variable passed to portnumber is shadowed by
the variable passed during portrule check. The attached patch fixes
this behaviour.

You can verify the bug with the following lua code:

Thanks for the reminder.  None of the NSE folks have objected or
commented, and it looks OK to me, so I've checked it into SVN.

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: