Skip to content

Commit 2d490b9

Browse files
committed
tests: fuzzer: Follow an increase of argument
Signed-off-by: Hiroshi Hatake <[email protected]>
1 parent 2747779 commit 2d490b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/internal/fuzzers/utils_fuzzer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
6262
char *uri = NULL;
6363
char *new_dst = NULL;
6464

65-
if (flb_utils_write_str_buf(null_terminated, size, &new_dst, &new_size) == 0) {
65+
if (flb_utils_write_str_buf(null_terminated, size, &new_dst, &new_size, FLB_TRUE) == 0) {
6666
flb_free(new_dst);
6767
}
6868

0 commit comments

Comments
 (0)