Module: kamailio Branch: master Commit: edb2293d25dc766a5a4305d6683f7fd8e4970d97 URL: https://github.com/kamailio/kamailio/commit/edb2293d25dc766a5a4305d6683f7fd8e4970d97
Author: Daniel-Constantin Mierla <[email protected]> Committer: Daniel-Constantin Mierla <[email protected]> Date: 2026-03-05T17:40:14+01:00 misc/fuzz: set rmode for tcp read headers --- Modified: misc/fuzz/fuzz_parse_msg.c --- Diff: https://github.com/kamailio/kamailio/commit/edb2293d25dc766a5a4305d6683f7fd8e4970d97.diff Patch: https://github.com/kamailio/kamailio/commit/edb2293d25dc766a5a4305d6683f7fd8e4970d97.patch --- diff --git a/misc/fuzz/fuzz_parse_msg.c b/misc/fuzz/fuzz_parse_msg.c index 721579a7bb7..1e02efd71f7 100644 --- a/misc/fuzz/fuzz_parse_msg.c +++ b/misc/fuzz/fuzz_parse_msg.c @@ -52,7 +52,7 @@ int ksr_fuzz_tcp_read(char *buf, size_t bsize) c.rcv.proto = PROTO_TCP; c.flags |= F_CONN_NORECV; read_flags = 0; - tcp_read_headers(&c, &read_flags); + tcp_read_headers(&c, &read_flags, 1); memset(&c, 0, sizeof(struct tcp_connection)); init_tcp_req(&c.req, p, rsize); @@ -64,7 +64,7 @@ int ksr_fuzz_tcp_read(char *buf, size_t bsize) c.rcv.proto = PROTO_TCP; c.flags |= F_CONN_NORECV; read_flags = 0; - tcp_read_headers(&c, &read_flags); + tcp_read_headers(&c, &read_flags, 1); free(p); _______________________________________________ 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!
