mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 04:39:01 +00:00
http.lua. Previously the code was not careful about checking its input, and would loop forever if it got something non-hex where it expected a hex chunk-size. See http://seclists.org/nmap-dev/2009/q3/0013.html. This code raises an error whenever decoding fails for whatever reason. It also handles chunk extensions. The reference is section 3.6.1 of RFC 2616.
15 KiB
15 KiB