Browse code

Merge c4700e4bd1f483046133d0372e9ba6c81efdf9b3 into a74977e42a39b93a4127766b86fc26fc367e9fe6

DavidKorczynski authored on 14/09/2021 07:12:06 • GitHub committed on 14/09/2021 07:12:06
Showing 1 changed files
... ...
@@ -6,6 +6,8 @@
6 6
 #include "../parser/parse_ppi_pai.h"
7 7
 #include "../parser/parse_privacy.h"
8 8
 #include "../parser/parse_diversion.h"
9
+#include "../parser/parse_identityinfo.h"
10
+#include "../parser/parse_disposition.h"
9 11
 
10 12
 int LLVMFuzzerInitialize(int *argc, char ***argv) {
11 13
     ksr_hname_init_index();
... ...
@@ -37,6 +39,16 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
37 39
 
38 40
     parse_privacy(&orig_inv);
39 41
 
42
+    parse_content_disposition(&orig_inv);
43
+
44
+    parse_identityinfo_header(&orig_inv);
45
+
46
+    str uri;
47
+    get_src_uri(&orig_inv, 0, &uri);
48
+
49
+    str ssock;
50
+    get_src_address_socket(&orig_inv, &ssock);
51
+
40 52
 cleanup:
41 53
     free_sip_msg(&orig_inv);
42 54