From cc1f75ca5e2e848e906a7417237c14c4c9afe00c Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 24 Mar 2018 21:49:23 +0100 Subject: [PATCH] Renamed variable. --- Magick++/fuzz/encoder_utils.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Magick++/fuzz/encoder_utils.cc b/Magick++/fuzz/encoder_utils.cc index e7683e165..e2eaf7141 100644 --- a/Magick++/fuzz/encoder_utils.cc +++ b/Magick++/fuzz/encoder_utils.cc @@ -3,11 +3,12 @@ static int fuzzEncoderWithStringFilename(const std::string encoder, const uint8_ // Allow a bit extra to make sure we do proper bounds checking in Magick++ if (Size > MagickPathExtent) return 0; - std::string color(reinterpret_cast(Data), Size); + + std::string fileName(reinterpret_cast(Data), Size); Magick::Image image; try { - image.read(encoder + ":" + color); + image.read(encoder + ":" + fileName); } catch (Magick::Exception &e) { } -- 2.40.0