Skip to content

Commit ecd9524

Browse files
committed
test: add fuzzing for string_view constructor
1 parent 7ad9156 commit ecd9524

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fuzz/parse.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
100100
/**
101101
* ada::url_search_params
102102
*/
103+
ada::url_search_params(base_source_view);
104+
103105
auto search_params = ada::url_search_params();
104106
search_params.append(source, base_source);
105107
search_params.set(source, base_source);

0 commit comments

Comments
 (0)