mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Merge remote-tracking branch 'htonl/weird_segfault'
* htonl/weird_segfault: Add btest test case Fix typo Fix segfault with incomplete connection
This commit is contained in:
commit
c1b2989035
5 changed files with 38 additions and 1 deletions
11
testing/btest/core/empty_conn_weird.zeek
Normal file
11
testing/btest/core/empty_conn_weird.zeek
Normal file
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# @TEST-EXEC: zeek -b %INPUT
|
||||
|
||||
event zeek_init()
|
||||
{
|
||||
local x: connection;
|
||||
x$uid = "uid";
|
||||
|
||||
Reporter::conn_weird("foo", x);
|
||||
print "done";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue