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:
Johanna Amann 2025-07-29 21:00:52 +01:00
commit a22b45c69e
38 changed files with 4270 additions and 4145 deletions

View file

@ -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 ) {