[sr-dev] git:master:9f7edfbd: misc/fuzz: use parse_contact_headers() instead of parse_contact_header()

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 14 11:21:21 CET 2022


Module: kamailio
Branch: master
Commit: 9f7edfbd9f3b5fdb660043048a4c3a517483016e
URL: https://github.com/kamailio/kamailio/commit/9f7edfbd9f3b5fdb660043048a4c3a517483016e

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-14T11:20:54+01:00

misc/fuzz: use parse_contact_headers() instead of parse_contact_header()

---

Modified: misc/fuzz/fuzz_parse_msg.c

---

Diff:  https://github.com/kamailio/kamailio/commit/9f7edfbd9f3b5fdb660043048a4c3a517483016e.diff
Patch: https://github.com/kamailio/kamailio/commit/9f7edfbd9f3b5fdb660043048a4c3a517483016e.patch

---

diff --git a/misc/fuzz/fuzz_parse_msg.c b/misc/fuzz/fuzz_parse_msg.c
index 1c813fd715..d832ff3d92 100644
--- a/misc/fuzz/fuzz_parse_msg.c
+++ b/misc/fuzz/fuzz_parse_msg.c
@@ -38,7 +38,7 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
 
     parse_to_uri(&orig_inv);
 
-    parse_contact_header(&orig_inv);
+    parse_contact_headers(&orig_inv);
 
     parse_refer_to_header(&orig_inv);
 




More information about the sr-dev mailing list