Skip to content

Commit

Permalink
compress_yuv_fuzzer: Use unique filename template
Browse files Browse the repository at this point in the history
  • Loading branch information
dcommander committed Apr 9, 2021
1 parent 47b66d1 commit 5cda8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuzz/compress_yuv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
putenv(env);
#endif

snprintf(filename, FILENAME_MAX, "/tmp/libjpeg-turbo_compress_fuzz.XXXXXX");
snprintf(filename, FILENAME_MAX, "/tmp/libjpeg-turbo_compress_yuv_fuzz.XXXXXX");
if ((fd = mkstemp(filename)) < 0 || write(fd, data, size) < 0)
goto bailout;

Expand Down

0 comments on commit 5cda8c5

Please sign in to comment.