From a14f7152ce1c25cf110d3ccf640f9d4ce17dacd3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 8 Sep 2017 10:20:36 +0200 Subject: rtsp: do not call fwrite() with NULL pointer FILE * If the default write callback is used and no destination has been set, a NULL pointer would be passed to fwrite()'s 4th argument. OSS-fuzz bug https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3327 (not publicly open yet) Detected by OSS-fuzz Closes #1874 --- tests/fuzz/curl_fuzz_data/oss-fuzz-3327 | Bin 0 -> 27 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fuzz/curl_fuzz_data/oss-fuzz-3327 (limited to 'tests/fuzz') diff --git a/tests/fuzz/curl_fuzz_data/oss-fuzz-3327 b/tests/fuzz/curl_fuzz_data/oss-fuzz-3327 new file mode 100644 index 000000000..064cc623a Binary files /dev/null and b/tests/fuzz/curl_fuzz_data/oss-fuzz-3327 differ -- cgit v1.2.3