Skip to content

Commit 5f97dbd

Browse files
catenacyberbagder
authored andcommitted
ossfuzz: Prevent large numbers of headers from causing timeouts
Compeltes previous commit
1 parent 052dae3 commit 5f97dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

curl_fuzzer_tlv.cc

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ int fuzz_parse_tlv(FUZZ_DATA *fuzz, TLV *tlv)
171171
new_list = curl_slist_append(fuzz->mail_recipients_list, tmp);
172172
if (new_list != NULL) {
173173
fuzz->mail_recipients_list = new_list;
174+
fuzz->header_list_count++;
174175
}
175176
break;
176177

0 commit comments

Comments
 (0)