Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package GraphicsMagick for openSUSE:Factory 
checked in at 2023-09-01 14:21:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/GraphicsMagick (Old)
 and      /work/SRC/openSUSE:Factory/.GraphicsMagick.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "GraphicsMagick"

Fri Sep  1 14:21:55 2023 rev:87 rq:1108450 version:1.3.40

Changes:
--------
--- /work/SRC/openSUSE:Factory/GraphicsMagick/GraphicsMagick.changes    
2023-08-30 10:19:18.769641565 +0200
+++ /work/SRC/openSUSE:Factory/.GraphicsMagick.new.1766/GraphicsMagick.changes  
2023-09-01 14:22:26.899164927 +0200
@@ -2,66 +1,0 @@
-Mon Aug 28 12:41:40 UTC 2023 - pgaj...@suse.com
-
-- fix regression in 1.3.41
-  https://sourceforge.net/p/graphicsmagick/bugs/722/
-- added patches
-  fix 17179:91afa18a6161
-  + GraphicsMagick-fix-regression-NULL-instead-of-empty-string.patch
-  fix 17180:bb42cd90ce6f
-  + GraphicsMagick-name-key-return-input-file-base-name.patch
-
--------------------------------------------------------------------
-Thu Aug 24 11:54:37 UTC 2023 - pgaj...@suse.com
-
-- version update to 1.3.41
-  Bug fixes:
-  * Blob: Immediately reject attempts to write blobs to formats which
-    can not support blobs.
-  * TranslateTextEx(): An empty string argument should return an empty
-    string rather than a NULL string.
-  * SetImageAttribute(): Fix bounds issue when concatenating string.
-  * JPEG: Do not set image resolution if the values provided are outside
-    of the valid range.
-  * Fixes for NaN when reading formats based on floating point.
-  * HEIF: Fix reading images with rotation/transformation.
-  * BMP: Do not decode primaries or gamma unless colorspace is
-    LCS_CALIBRATED_RGB.  Add/correct bmp_info.size "biSize" logic which
-    decides if header chunks are present (or invalid).
-  * MNG: Fixes for resizing using X_method 5.
-  * GM command (convert, montage, mogrify): Many command-line parser
-    fixes/checks for invalid command line syntax which causes unexpected
-    behavior, or core dumps.
-  
-  * TopoL: Given that a writer is now provided, issues found in the
-    reader (and writer) due to continual fuzz-testing have been fixed,
-    as encountered.
-  * GetImageClippingPathAttribute(): Check for and use clipping path
-    name (ID=2999) to get the real attribute name.
-  * ReadIPTCProfile(): Fix malformed IPTC data parsing.
-  New Features:
-  * TopoL: Now provides a writer.
-  * WPG: Now provides a writer.
-  * gm batch: Implement simple Test Anything Protocol (TAP) test
-    counting and "ok N"/"not ok N" messaging.
-  * TIFF: Support '-define tiff:photometric=minisblack' and '-define
-    tiff:photometric=miniswhite' to be able to adjust the sense used
-    when writing bilevel TIFF images.
-  * TIFF: Require that TIFFTAG_EXTRASAMPLES be used appropriately to
-    indicate the intention of extra channels.
-  * utilities/tests/gen-tiff-images/genimages: Script for writing (and
-    then reading) thousands (5568 permutations) of TIFF format variants.
-  * EXIF and PNG: Retrieve image orientation from EXIF (if present) and
-    store in image.
-  * HEIF: Retrieve image orientation from EXIF and store in image.
-  Behavior Changes:
-  * The ability to extend existing image attribute text by calling
-    SetImageAttribute() multiple times with the same key is now
-    deprecated, and will soon be removed.  In the mean time, the
-    annoying message "SetImageAttribute: Extending attribute value text
-    is deprecated!"  is printed to the standard error output to help
-    expose code which is using this feature.
-- modified patches
-  % GraphicsMagick-disable-insecure-coders.patch (refreshed)
-- deleted patches
-  - strlcpy-wrong-sizing.patch (upstreamed)
-
--------------------------------------------------------------------

Old:
----
  GraphicsMagick-1.3.41.tar.xz
  GraphicsMagick-fix-regression-NULL-instead-of-empty-string.patch
  GraphicsMagick-name-key-return-input-file-base-name.patch

New:
----
  GraphicsMagick-1.3.40.tar.xz
  strlcpy-wrong-sizing.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ GraphicsMagick.spec ++++++
--- /var/tmp/diff_new_pack.XLUo2w/_old  2023-09-01 14:22:28.163210042 +0200
+++ /var/tmp/diff_new_pack.XLUo2w/_new  2023-09-01 14:22:28.163210042 +0200
@@ -24,7 +24,7 @@
 %define pp_so_ver       12
 %define wand_so_ver     2
 Name:           GraphicsMagick
-Version:        1.3.41
+Version:        1.3.40
 Release:        0
 Summary:        Viewer and Converter for Images
 License:        MIT
@@ -33,10 +33,7 @@
 Source:         
https://downloads.sourceforge.net/project/graphicsmagick/graphicsmagick/%{version}/%{name}-%{version}.tar.xz
 Patch0:         GraphicsMagick-perl-linkage.patch
 Patch1:         GraphicsMagick-disable-insecure-coders.patch
-# 17179:91afa18a6161
-Patch2:         
GraphicsMagick-fix-regression-NULL-instead-of-empty-string.patch
-# 17180:bb42cd90ce6f
-Patch3:         GraphicsMagick-name-key-return-input-file-base-name.patch
+Patch2:         strlcpy-wrong-sizing.patch
 BuildRequires:  cups-client
 BuildRequires:  dcraw
 BuildRequires:  gcc-c++

++++++ GraphicsMagick-1.3.41.tar.xz -> GraphicsMagick-1.3.40.tar.xz ++++++
++++ 24893 lines of diff (skipped)

++++++ GraphicsMagick-disable-insecure-coders.patch ++++++
--- /var/tmp/diff_new_pack.XLUo2w/_old  2023-09-01 14:22:29.491257441 +0200
+++ /var/tmp/diff_new_pack.XLUo2w/_new  2023-09-01 14:22:29.495257584 +0200
@@ -1,7 +1,7 @@
-Index: GraphicsMagick-1.3.41/coders/pdf.c
+Index: GraphicsMagick-1.3.40/coders/pdf.c
 ===================================================================
---- GraphicsMagick-1.3.41.orig/coders/pdf.c
-+++ GraphicsMagick-1.3.41/coders/pdf.c
+--- GraphicsMagick-1.3.40.orig/coders/pdf.c
++++ GraphicsMagick-1.3.40/coders/pdf.c
 @@ -499,7 +499,7 @@ ModuleExport void RegisterPDFImage(void)
    entry->seekable_stream=True;
    entry->description="Encapsulated Portable Document Format";
@@ -20,10 +20,10 @@
    (void) RegisterMagickInfo(entry);
  }
  
-Index: GraphicsMagick-1.3.41/coders/ps.c
+Index: GraphicsMagick-1.3.40/coders/ps.c
 ===================================================================
---- GraphicsMagick-1.3.41.orig/coders/ps.c
-+++ GraphicsMagick-1.3.41/coders/ps.c
+--- GraphicsMagick-1.3.40.orig/coders/ps.c
++++ GraphicsMagick-1.3.40/coders/ps.c
 @@ -456,7 +456,7 @@ ModuleExport void RegisterPSImage(void)
    entry->adjoin=False;
    entry->description="Adobe Encapsulated PostScript Interchange format";
@@ -69,10 +69,10 @@
    (void) RegisterMagickInfo(entry);
  }
  
-Index: GraphicsMagick-1.3.41/coders/ps2.c
+Index: GraphicsMagick-1.3.40/coders/ps2.c
 ===================================================================
---- GraphicsMagick-1.3.41.orig/coders/ps2.c
-+++ GraphicsMagick-1.3.41/coders/ps2.c
+--- GraphicsMagick-1.3.40.orig/coders/ps2.c
++++ GraphicsMagick-1.3.40/coders/ps2.c
 @@ -252,7 +252,7 @@ ModuleExport void RegisterPS2Image(void)
    entry->seekable_stream=True;
    entry->description="Adobe Level II Encapsulated PostScript";
@@ -91,10 +91,10 @@
    (void) RegisterMagickInfo(entry);
  }
  
-Index: GraphicsMagick-1.3.41/coders/ps3.c
+Index: GraphicsMagick-1.3.40/coders/ps3.c
 ===================================================================
---- GraphicsMagick-1.3.41.orig/coders/ps3.c
-+++ GraphicsMagick-1.3.41/coders/ps3.c
+--- GraphicsMagick-1.3.40.orig/coders/ps3.c
++++ GraphicsMagick-1.3.40/coders/ps3.c
 @@ -394,7 +394,7 @@ ModuleExport void RegisterPS3Image(void)
    entry->description="Adobe Level III Encapsulated PostScript";
    entry->seekable_stream=MagickTrue;
@@ -113,10 +113,10 @@
    (void) RegisterMagickInfo(entry);
  }
  
-Index: GraphicsMagick-1.3.41/config/delegates.mgk.in
+Index: GraphicsMagick-1.3.40/config/delegates.mgk.in
 ===================================================================
---- GraphicsMagick-1.3.41.orig/config/delegates.mgk.in
-+++ GraphicsMagick-1.3.41/config/delegates.mgk.in
+--- GraphicsMagick-1.3.40.orig/config/delegates.mgk.in
++++ GraphicsMagick-1.3.40/config/delegates.mgk.in
 @@ -76,27 +76,27 @@
    <delegate decode="dot" command='"@DOTDecodeDelegate@" -Tps "%i" -o "%o"' />
    <delegate decode="dvi" command='"@DVIDecodeDelegate@" -q -o "%o" "%i"' />
@@ -170,11 +170,11 @@
    <delegate decode="ps" encode="print" mode="encode" 
command='"@PrintDelegate@" "%i"' />
    <!-- Read HTML file  -->
    <delegate decode="shtml" command='"@HTMLDecodeDelegate@" -U -o "%o" "%i"' />
-Index: GraphicsMagick-1.3.41/Makefile.in
+Index: GraphicsMagick-1.3.40/Makefile.in
 ===================================================================
---- GraphicsMagick-1.3.41.orig/Makefile.in
-+++ GraphicsMagick-1.3.41/Makefile.in
-@@ -4336,7 +4336,6 @@ TESTS_TESTS = \
+--- GraphicsMagick-1.3.40.orig/Makefile.in
++++ GraphicsMagick-1.3.40/Makefile.in
+@@ -4326,7 +4326,6 @@ TESTS_TESTS = \
        tests/rwfile.tap \
        tests/rwfile_sized.tap \
        tests/rwfile_miff.tap \
@@ -182,16 +182,16 @@
        tests/rwfile_deep.tap
  
  TESTS_EXTRA_DIST = \
-Index: GraphicsMagick-1.3.41/tests/rwblob.tap
+Index: GraphicsMagick-1.3.40/tests/rwblob.tap
 ===================================================================
---- GraphicsMagick-1.3.41.orig/tests/rwblob.tap
-+++ GraphicsMagick-1.3.41/tests/rwblob.tap
+--- GraphicsMagick-1.3.40.orig/tests/rwblob.tap
++++ GraphicsMagick-1.3.40/tests/rwblob.tap
 @@ -10,7 +10,7 @@ rwblob=./rwblob
  check_types='bilevel gray pallette truecolor'
  
  # Number of tests we plan to run
--test_plan_fn 213
-+test_plan_fn 205
+-test_plan_fn 209
++test_plan_fn 201
  
  # ART format
  for type in ${check_types}
@@ -214,16 +214,16 @@
  # FAX format
  for type in ${check_types}
  do
-Index: GraphicsMagick-1.3.41/tests/rwfile.tap
+Index: GraphicsMagick-1.3.40/tests/rwfile.tap
 ===================================================================
---- GraphicsMagick-1.3.41.orig/tests/rwfile.tap
-+++ GraphicsMagick-1.3.41/tests/rwfile.tap
+--- GraphicsMagick-1.3.40.orig/tests/rwfile.tap
++++ GraphicsMagick-1.3.40/tests/rwfile.tap
 @@ -12,7 +12,7 @@ check_types='bilevel gray pallette truec
  check_types_noone='bilevel gray pallette truecolor'
  
  # Number of tests we plan to run
--test_plan_fn 838 # 828
-+test_plan_fn 788 # 828
+-test_plan_fn 818 # 820
++test_plan_fn 768 # 820
  
  # ART format
  for type in ${check_types}

++++++ strlcpy-wrong-sizing.patch ++++++
Index: GraphicsMagick-1.3.40/coders/cineon.c
===================================================================
--- GraphicsMagick-1.3.40.orig/coders/cineon.c
+++ GraphicsMagick-1.3.40/coders/cineon.c
@@ -1138,7 +1138,7 @@ static void GenerateCineonTimeStamp(char
   (void) memset(date_str,0,date_str_length);
   (void) strlcpy(date_str,timestamp,11);
   (void) memset(time_str,0,time_str_length);
-  (void) strlcpy(time_str,timestamp+11,15);
+  (void) strlcpy(time_str,timestamp+11,time_str_length);
 }
 
 
Index: GraphicsMagick-1.3.40/magick/attribute.c
===================================================================
--- GraphicsMagick-1.3.40.orig/magick/attribute.c
+++ GraphicsMagick-1.3.40/magick/attribute.c
@@ -3301,7 +3301,7 @@ SetImageAttribute(Image *image,const cha
                     { /* nada */};
               MagickReallocMemory(char *,p->value,realloc_l);
               if (p->value != (char *) NULL)
-                (void) strlcat(p->value+p->length,attribute->value,min_l);
+                (void) 
memcpy(p->value+p->length,attribute->value,attribute->length+1);
               p->length += attribute->length;
               DestroyImageAttribute(attribute);
             }

Reply via email to