Module: kamailio Branch: master Commit: cbcfb3f1344ba96d095ba52c33021187fa2c4589 URL: https://github.com/kamailio/kamailio/commit/cbcfb3f1344ba96d095ba52c33021187fa2c4589
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-03-03T14:41:48+01:00 misc/fuzz: set tcp connection no receive flag --- Modified: misc/fuzz/fuzz_parse_msg.c --- Diff: https://github.com/kamailio/kamailio/commit/cbcfb3f1344ba96d095ba52c33021187fa2c4589.diff Patch: https://github.com/kamailio/kamailio/commit/cbcfb3f1344ba96d095ba52c33021187fa2c4589.patch --- diff --git a/misc/fuzz/fuzz_parse_msg.c b/misc/fuzz/fuzz_parse_msg.c index 7798f62b94b..721579a7bb7 100644 --- a/misc/fuzz/fuzz_parse_msg.c +++ b/misc/fuzz/fuzz_parse_msg.c @@ -50,6 +50,7 @@ int ksr_fuzz_tcp_read(char *buf, size_t bsize) c.state = S_CONN_OK; c.type = PROTO_TCP; c.rcv.proto = PROTO_TCP; + c.flags |= F_CONN_NORECV; read_flags = 0; tcp_read_headers(&c, &read_flags); @@ -61,6 +62,7 @@ int ksr_fuzz_tcp_read(char *buf, size_t bsize) c.state = S_CONN_OK; c.type = PROTO_TCP; c.rcv.proto = PROTO_TCP; + c.flags |= F_CONN_NORECV; read_flags = 0; tcp_read_headers(&c, &read_flags); _______________________________________________ Kamailio - Development Mailing List -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!
