zeek/testing/btest/core
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
..
icmp Extract ICMPv6 NDP options and include in ICMP events (addresses #833). 2012-06-26 17:10:00 -05:00
leaks Add test serialization to "leak" unit tests that use communication. 2012-08-22 16:54:00 -05:00
tunnels SOCKS and tunnel test updates. 2012-06-20 14:19:49 -04:00
check-unused-event-handlers.test Fix check_for_unused_event_handlers option. 2011-08-11 11:34:42 -05:00
checksums.test Update tests (use weird.log instead of stderr) 2012-05-11 17:09:01 -05:00
conn-uid.bro Remove connection compressor (addresses #559). 2012-02-27 11:35:25 -06:00
disable-mobile-ipv6.test Update tests (use weird.log instead of stderr) 2012-05-11 17:09:01 -05:00
discarder.bro Fixes for IPv6 truncation and ICMP/ICMP6 analysis. 2012-04-11 16:27:31 -05:00
dns-init.bro Merge remote-tracking branch 'origin/topic/jsiwek/fix-dns-double-free' 2011-12-01 16:40:07 -08:00
expr-exception.bro Reworking thread termination logic. 2012-07-19 21:21:53 -07:00
file-caching-serialization.test Changes to open-file caching limits and uncached file unserialization. 2012-05-03 13:13:58 -05:00
ipv6-atomic-frag.test Update IPv6 atomic fragment unit test to filter output of ICMPv6. 2012-04-10 11:09:07 -05:00
ipv6-flow-labels.test Improve availability of IPv6 flow label in connection records. 2012-05-22 15:18:33 -05:00
ipv6-frag.test Add unit test for IPv6 fragment reassembly. 2012-03-12 15:26:51 -05:00
ipv6_esp.test Add support for mobile IPv6 Mobility Header (RFC 6275). 2012-04-09 14:39:00 -05:00
ipv6_ext_headers.test Improve handling of IPv6 Routing Type 0 headers. 2012-03-28 13:49:28 -05:00
ipv6_zero_len_ah.test Fix construction of ip6_ah (Authentication Header) record values. 2012-09-18 16:52:12 -05:00
load-duplicates.bro Renaming a test better. 2011-07-14 22:06:16 -05:00
load-pkg.bro core.load-pkg test now insensitive to default-loaded scripts. 2011-07-22 16:33:50 -07:00
load-prefixes.bro Fixes for script auto-documentation. 2011-08-08 19:50:45 -05:00
load-relative.bro Rewrite a test using btest's TEST-START-FILE directive 2011-07-20 15:59:07 -05:00
load-unload.bro Fix @unload'd files from generating bro_script_loaded event. 2011-07-20 15:56:25 -05:00
mobile-ipv6-home-addr.test Add support for mobile IPv6 Mobility Header (RFC 6275). 2012-04-09 14:39:00 -05:00
mobile-ipv6-routing.test Add support for mobile IPv6 Mobility Header (RFC 6275). 2012-04-09 14:39:00 -05:00
mobility-checksums.test Fix mobility checksums unit test. 2012-05-17 14:47:09 -05:00
mobility_msg.test Add support for mobile IPv6 Mobility Header (RFC 6275). 2012-04-09 14:39:00 -05:00
nop.bro Fixing bug causing crash when running without arguments. 2011-07-07 19:56:48 -07:00
print-bpf-filters.bro Remove --enable-brov6 flag, IPv6 now supported by default. 2012-02-03 16:46:58 -06:00
reporter-error-in-handler.bro Avoiding infinite loops when an error message handlers triggers errors 2011-07-01 10:04:27 -07:00
reporter-fmt-strings.bro Fix reporter using part of the actual message as a format string 2011-08-12 23:24:44 -07:00
reporter-parse-error.bro Renaming the Logger to Reporter. 2011-07-01 09:22:33 -07:00
reporter-runtime-error.bro Renaming the Logger to Reporter. 2011-07-01 09:22:33 -07:00
reporter-type-mismatch.bro Renaming the Logger to Reporter. 2011-07-01 09:22:33 -07:00
reporter.bro Renaming reporter_message to report_info. 2011-07-07 19:56:25 -07:00
truncation.test Remove unnecessary assert in ICMP analyzer (addresses #822). 2012-05-29 17:29:11 -05:00
vlan-mpls.bro Hopefully the last major script reorganization. 2011-08-05 23:09:53 -04:00