Skip to content

Commit a62e844

Browse files
MarcoFalketheStack
authored andcommitted
fuzz: add SplitString fuzz target
1 parent 4fad7e4 commit a62e844

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/fuzz/string.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ FUZZ_TARGET(string)
224224
int64_t amount_out;
225225
(void)ParseFixedPoint(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 1024), &amount_out);
226226
}
227+
(void)SplitString(random_string_1, fuzzed_data_provider.ConsumeIntegral<char>());
227228
{
228229
(void)Untranslated(random_string_1);
229230
const bilingual_str bs1{random_string_1, random_string_2};

0 commit comments

Comments
 (0)