mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00

When not reporting via events, the final contents of the message buffer after formatting was being used as a format string to fprintf instead of writing out the actual string.
10 lines
331 B
Text
10 lines
331 B
Text
# The format string below should end up as a literal part of the reporter's
|
|
# error message to stderr and shouldn't be replaced internally.
|
|
#
|
|
# @TEST-EXEC-FAIL: bro %INPUT >output 2>&1
|
|
# @TEST-EXEC: TEST_DIFF_CANONIFIER=$SCRIPTS/diff-remove-abspath btest-diff output
|
|
|
|
event bro_init()
|
|
{
|
|
event dont_interpret_this("%s");
|
|
}
|