GraphicsMagick: fuzzing/coder_list.cc: Exclude format names depe...

GraphicsMagick Commits <[email protected]> Sun, 03 Dec 2023 09:32:32 -0600
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.8593.1701617567.1716.graphicsmagick-commit@lists.sourceforge.net>
changeset 7c3b9dbdf47b in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=7c3b9dbdf47b
summary: fuzzing/coder_list.cc: Exclude format names depending on an external 'dcraw' program

diffstat:

 ChangeLog                              |   5 +++++
 VisualMagick/installer/inc/version.isx |   4 ++--
 fuzzing/coder_list.cc                  |  22 ++++++++++++++++++++++
 magick/version.h                       |   4 ++--
 www/Changelog.html                     |   7 +++++++
 5 files changed, 38 insertions(+), 4 deletions(-)

diffs (93 lines):

diff -r 59d13006b62c -r 7c3b9dbdf47b ChangeLog
--- a/ChangeLog	Sat Dec 02 13:34:15 2023 -0600
+++ b/ChangeLog	Sun Dec 03 09:32:30 2023 -0600
@@ -1,3 +1,8 @@
+2023-12-03  Bob Friesenhahn  <[email protected]>
+
+	* fuzzing/coder_list.cc: Exclude format names depending on an
+	external 'dcraw' program.
+
 2023-12-02  Bob Friesenhahn  <[email protected]>
 
 	* configure.ac: Print data returned from PKG_CHECK_MODULES if
diff -r 59d13006b62c -r 7c3b9dbdf47b VisualMagick/installer/inc/version.isx
--- a/VisualMagick/installer/inc/version.isx	Sat Dec 02 13:34:15 2023 -0600
+++ b/VisualMagick/installer/inc/version.isx	Sun Dec 03 09:32:30 2023 -0600
@@ -10,5 +10,5 @@
 
 #define public MagickPackageName "GraphicsMagick"
 #define public MagickPackageVersion "1.4"
-#define public MagickPackageVersionAddendum ".020231202"
-#define public MagickPackageReleaseDate "snapshot-20231202"
+#define public MagickPackageVersionAddendum ".020231203"
+#define public MagickPackageReleaseDate "snapshot-20231203"
diff -r 59d13006b62c -r 7c3b9dbdf47b fuzzing/coder_list.cc
--- a/fuzzing/coder_list.cc	Sat Dec 02 13:34:15 2023 -0600
+++ b/fuzzing/coder_list.cc	Sun Dec 03 09:32:30 2023 -0600
@@ -25,6 +25,7 @@
     excludedCoders.push_back("PLASMA");
     excludedCoders.push_back("PREVIEW");
     excludedCoders.push_back("SHTML");
+    excludedCoders.push_back("STEGANO");
     excludedCoders.push_back("TILE");
     excludedCoders.push_back("XC");
 
@@ -35,6 +36,27 @@
     excludedCoders.push_back("JBG");    // Same as JBIG
     excludedCoders.push_back("JPG");    // Same as JPEG
 
+    // Format names depending on an external 'dcraw' program.
+    // See dcraw_formats in coders/dcraw.c
+    excludedCoders.push_back("3FR");
+    excludedCoders.push_back("ARW");
+    excludedCoders.push_back("CR2");
+    excludedCoders.push_back("CRW");
+    excludedCoders.push_back("DCR");
+    excludedCoders.push_back("DNG");
+    excludedCoders.push_back("ERF");
+    excludedCoders.push_back("K25");
+    excludedCoders.push_back("KDC");
+    excludedCoders.push_back("MEF");
+    excludedCoders.push_back("MRW");
+    excludedCoders.push_back("NEF");
+    excludedCoders.push_back("ORF");
+    excludedCoders.push_back("PEF");
+    excludedCoders.push_back("RAF");
+    excludedCoders.push_back("SR2");
+    excludedCoders.push_back("SRF");
+    excludedCoders.push_back("X3F");
+
     for (auto it = coders.begin(); it != coders.end(); it++) {
         if (std::find(excludedCoders.begin(), excludedCoders.end(), (*it).name()) != excludedCoders.end()) {
             continue;
diff -r 59d13006b62c -r 7c3b9dbdf47b magick/version.h
--- a/magick/version.h	Sat Dec 02 13:34:15 2023 -0600
+++ b/magick/version.h	Sun Dec 03 09:32:30 2023 -0600
@@ -38,8 +38,8 @@
 #define MagickLibVersion  0x272404
 #define MagickLibVersionText  "1.4"
 #define MagickLibVersionNumber 27,24,4
-#define MagickChangeDate   "20231202"
-#define MagickReleaseDate  "snapshot-20231202"
+#define MagickChangeDate   "20231203"
+#define MagickReleaseDate  "snapshot-20231203"
 
 /*
   The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
diff -r 59d13006b62c -r 7c3b9dbdf47b www/Changelog.html
--- a/www/Changelog.html	Sat Dec 02 13:34:15 2023 -0600
+++ b/www/Changelog.html	Sun Dec 03 09:32:30 2023 -0600
@@ -37,6 +37,13 @@
 </div>
 
 <div class="document">
+<p>2023-12-03  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
+<blockquote>
+<ul class="simple">
+<li><p>fuzzing/coder_list.cc: Exclude format names depending on an
+external 'dcraw' program.</p></li>
+</ul>
+</blockquote>
 <p>2023-12-02  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">