[sr-dev] git:master:9140686d: misctesc: sync-ed with fuzz function

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 14 12:54:27 CET 2022


Module: kamailio
Branch: master
Commit: 9140686dcd4c32712e46f3e6e824ab090545a03e
URL: https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab090545a03e

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-14T12:53:56+01:00

misctesc: sync-ed with fuzz function

---

Modified: src/modules/misctest/misctest_mod.c

---

Diff:  https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab090545a03e.diff
Patch: https://github.com/kamailio/kamailio/commit/9140686dcd4c32712e46f3e6e824ab090545a03e.patch

---

diff --git a/src/modules/misctest/misctest_mod.c b/src/modules/misctest/misctest_mod.c
index 0867c1ae46..c00a8b9c5c 100644
--- a/src/modules/misctest/misctest_mod.c
+++ b/src/modules/misctest/misctest_mod.c
@@ -40,6 +40,7 @@
 #include "../../core/parser/parse_hname2.h"
 #include "../../core/parser/contact/parse_contact.h"
 #include "../../core/parser/parse_to.h"
+#include "../../core/parser/parse_rr.h"
 #include "../../core/parser/parse_from.h"
 #include "../../core/parser/parse_refer_to.h"
 #include "../../core/parser/parse_ppi_pai.h"
@@ -341,7 +342,7 @@ static int misctest_message_init(void)
 
 	parse_to_uri(&tmsg);
 
-	parse_contact_header(&tmsg);
+	parse_contact_headers(&tmsg);
 
 	parse_refer_to_header(&tmsg);
 
@@ -355,6 +356,10 @@ static int misctest_message_init(void)
 
 	parse_identityinfo_header(&tmsg);
 
+	parse_record_route_headers(&tmsg);
+
+	parse_route_headers(&tmsg);
+
 	str uri;
 	get_src_uri(&tmsg, 0, &uri);
 




More information about the sr-dev mailing list