Module: kamailio
Branch: master
Commit: a9e92eb9dfe4e52b45e271bcfa51c0c732dc23c4
URL:
https://github.com/kamailio/kamailio/commit/a9e92eb9dfe4e52b45e271bcfa51c0c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-03-14T12:20:37+01:00
misc: fuzz - add functions for parsing record-/route headers
---
Modified: misc/fuzz/fuzz_parse_msg.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a9e92eb9dfe4e52b45e271bcfa51c0c…
Patch:
https://github.com/kamailio/kamailio/commit/a9e92eb9dfe4e52b45e271bcfa51c0c…
---
diff --git a/misc/fuzz/fuzz_parse_msg.c b/misc/fuzz/fuzz_parse_msg.c
index d832ff3d92..6688e92389 100644
--- a/misc/fuzz/fuzz_parse_msg.c
+++ b/misc/fuzz/fuzz_parse_msg.c
@@ -52,6 +52,10 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
parse_identityinfo_header(&orig_inv);
+ parse_record_route_headers(&orig_inv);
+
+ parse_route_headers(&orig_inv);
+
str uri;
get_src_uri(&orig_inv, 0, &uri);