extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
std::string encoder = FUZZ_ENCODER;
- // Due to macro foolishness, if we pass -DFUZZ_IMAGEMAGICK_ENCODER=NULL,
- // FUZZ_ENCODER ends up being "__null".
- if (encoder == "__null") {
- encoder = "NULL";
- }
-
const Magick::Blob blob(Data, Size);
Magick::Image image;
image.magick(encoder);
allowedNames.push_back("YCBCR");
std::list<std::string> excludeList;
+ excludeList.push_back("NULL");
excludeList.push_back("SCREENSHOT");
for (std::list<Magick::CoderInfo>::iterator it = coderList.begin(); it != coderList.end(); it++)