mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Use .zeek file suffix in unit tests
This commit is contained in:
parent
93d384adeb
commit
1e57e3f026
862 changed files with 533 additions and 529 deletions
|
@ -0,0 +1,14 @@
|
|||
# The parser generated by BinPAC needs to handle this pcap without crashing
|
||||
# or asserting. Specifically, pasing Function Code 23,
|
||||
# ReadWriteMultipleRegistersRequest, has a field:
|
||||
#
|
||||
# uint16[write_quantity] &length=write_byte_count;
|
||||
#
|
||||
# And the pcap has mismatching values for those quantities.
|
||||
# The use of &length on arrays previously caused array elements to
|
||||
# be treated as already having a bounds check in the parsing-loop, which
|
||||
# is problematic in the case where (write_quantity * 2) > write_byte_count
|
||||
# as that can cause reading from a location that exceeds the end of the
|
||||
# data buffer.
|
||||
|
||||
# @TEST-EXEC: bro -r $TRACES/modbus/4SICS-GeekLounge-151022-min.pcap
|
Loading…
Add table
Add a link
Reference in a new issue