mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

* 'Reporter/MessageFix' of https://github.com/catenacyber/bro: Better reporter for Brostring with embedded NUL I slightly changed the code for beautification purposes and added a testcase. No functional changes.
8 lines
131 B
Text
8 lines
131 B
Text
# @TEST-EXEC: bro -b %INPUT 2>&1
|
|
# @TEST-EXEC: btest-diff .stdout
|
|
|
|
event bro_init()
|
|
{
|
|
local a = "hi\x00there";
|
|
unique_id(a);
|
|
}
|