mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Make "in" keyword work with binary data.
This switches in from using strstr to use strnstr (implementation from FreeBSD on systems which do not bring their own implementation). It is especially likely that users come accross this when using the DATA_EVENT analyzer with files that contain binary data - the test uses exactly this case.
This commit is contained in:
parent
6ffa99d67e
commit
a4d25c8828
4 changed files with 25 additions and 3 deletions
|
@ -0,0 +1,3 @@
|
|||
Found
|
||||
Found
|
||||
Found
|
Loading…
Add table
Add a link
Reference in a new issue