Nmap Development mailing list archives

[NSE] Incorrect array base for host.os table


From: "Patrick Donnelly" <batrick.donnelly () gmail com>
Date: Thu, 20 Nov 2008 16:58:01 -0700

There was a bug in the code generating the host.os table [1] (passed
to the action, hostrule, and portrule functions). The table indices
were 0-N and have been changed to 1-N. This is due to Lua arrays
beginning at 1.

[1] http://nmap.org/book/nse-api.html#nse-api-arguments

Cheers,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant

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


Current thread: