]> granicus.if.org Git - imagemagick/commitdiff
Always write when debugging under Windows.
authorDirk Lemstra <dirk@git.imagemagick.org>
Tue, 16 Jan 2018 22:17:40 +0000 (23:17 +0100)
committerDirk Lemstra <dirk@git.imagemagick.org>
Tue, 16 Jan 2018 22:17:40 +0000 (23:17 +0100)
Magick++/fuzz/encoder_fuzzer.cc

index ba5a0510985dc40d201dd9d3a1995fe3970efaae..dd3875bd6dee470189226f7defbf257ac06da25b 100644 (file)
@@ -23,7 +23,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
     return 0;
   }
 
-#if FUZZ_IMAGEMAGICK_ENCODER_WRITE
+#if FUZZ_IMAGEMAGICK_ENCODER_WRITE || BUILD_MAIN
 
   Magick::Blob outBlob;
   try {