1 #include "git-compat-util.h"
9 int LLVMFuzzerTestOneInput(const uint8_t *data
, size_t size
);
11 int LLVMFuzzerTestOneInput(const uint8_t *data
, size_t size
)
17 buf
= malloc(size
+ 1);
21 memcpy(buf
, data
, size
);
28 r
= url_percent_decode(buf
);
31 pbuf
= (const char*) buf
;
32 r
= url_decode_parameter_name(&pbuf
);
35 pbuf
= (const char*) buf
;
36 r
= url_decode_parameter_value(&pbuf
);