mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/johanna/gh-4202'
* origin/topic/johanna/gh-4202: Update NEWS for Conn::set_conn changes DNS-fuzzer: raise new_connection event Optimize Conn::set_conn to minimize operations Move Conn::set_conn() from connection_state_remove to new_connection
This commit is contained in:
commit
a22b45c69e
38 changed files with 4270 additions and 4145 deletions
|
@ -48,6 +48,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
|||
auto conn = add_connection();
|
||||
auto a = add_analyzer(conn);
|
||||
|
||||
// The conn protocol scripts assume that new_connection is run before connection_state_remove.
|
||||
if ( new_connection )
|
||||
conn->Event(new_connection, nullptr);
|
||||
|
||||
try {
|
||||
a->DeliverPacket(size, data, true, -1, nullptr, size);
|
||||
} catch ( const binpac::Exception& e ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue