summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/fuzzer/fuzzer-exif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/fuzzer/fuzzer-exif.c b/sapi/fuzzer/fuzzer-exif.c
index 230852bb61..71f1c88b78 100644
--- a/sapi/fuzzer/fuzzer-exif.c
+++ b/sapi/fuzzer/fuzzer-exif.c
@@ -45,7 +45,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
return 0;
}
- stream = php_stream_fopen_tmpfile();
+ stream = php_stream_memory_create(TEMP_STREAM_DEFAULT);
php_stream_write(stream, (const char *) Data, Size);
php_stream_to_zval(stream, &stream_zv);