zeek/scripts/base
Jon Siwek 392b99b2fa Fix construction of ip6_ah (Authentication Header) record values.
Authentication Headers with a Payload Len field set to zero would cause
a crash due to invalid memory allocation because the previous code
assumed Payload Len would always be great enough to contain all
mandatory fields of the header.  This changes it so the length of
the header is explicitly checked before attempting to extract fields
located past the minimum length (8 bytes) of an Authentication Header.

Crashes due to this are only possible when handling script-layer events
ipv6_ext_headers, new_packet, esp_packet, or teredo_*.  Or also when
implementing one of the discarder_check_* family of functions.
Otherwise, Bro correctly parses past such a header.
2012-09-18 16:52:12 -05:00
..
frameworks Merge remote-tracking branch 'origin/topic/bernhard/input-allow_invalid_types' 2012-08-22 16:11:28 -07:00
misc Hopefully the last major script reorganization. 2011-08-05 23:09:53 -04:00
protocols Changing HTTP DPD port 3138 to 3128. 2012-07-20 09:57:38 -07:00
utils Add support to Bro for connecting with peers over IPv6. 2012-05-09 15:08:36 -05:00
init-bare.bro Fix construction of ip6_ah (Authentication Header) record values. 2012-09-18 16:52:12 -05:00
init-default.bro Return of Robin's old SOCKS analyzer/decapsulator and tunnel code checkpoint. 2012-04-21 23:50:09 -04:00