public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin Gilbert <bgilbert@backtick.net>
To: git-commits@fedoraproject.org
Subject: [rpms/openslide] rawhide: New release (fixes CVE-2026-48977)
Date: Mon, 08 Jun 2026 04:47:11 GMT	[thread overview]
Message-ID: <178089403115.1.5584112844726256541.rpms-openslide-c6d484527611@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/openslide
Branch : rawhide
Commit : c6d484527611db51270c39cf1827db5fc7c4587d
Author : Benjamin Gilbert <bgilbert@backtick.net>
Date   : 2026-06-07T23:46:59-05:00
Stats  : +6/-38 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/openslide/c/c6d484527611db51270c39cf1827db5fc7c4587d?branch=rawhide

Log:
New release (fixes CVE-2026-48977)

---
diff --git a/.gitignore b/.gitignore
index 8347d4e..fed4a71 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /openslide-3.4.0.tar.xz
 /openslide-3.4.1.tar.xz
 /openslide-4.0.0.tar.xz
+/openslide-4.0.1.tar.xz

diff --git a/libtiff-partial-tile.patch b/libtiff-partial-tile.patch
deleted file mode 100644
index bd5664f..0000000
--- a/libtiff-partial-tile.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/src/openslide-decode-tiff.c b/src/openslide-decode-tiff.c
-index 1988bd7d4879..9364639bf95d 100644
---- a/src/openslide-decode-tiff.c
-+++ b/src/openslide-decode-tiff.c
-@@ -303,9 +303,14 @@ bool _openslide_tiff_read_tile(struct _openslide_tiff_level *tiffl,
-     _openslide_performance_warn_once(&tiffl->warned_read_indirect,
-                                      "Using slow libtiff read path for "
-                                      "directory %d", tiffl->dir);
-+    // artificially limit dest height so libtiff 4.7.1 won't unpad the
-+    // bottom row of tiles into the bottom pixels of dest
-+    // https://gitlab.com/libtiff/libtiff/-/issues/791
-+    uint32_t clipped_h =
-+      MIN(tiffl->tile_h, MAX(tiffl->image_h - tile_row * tiffl->tile_h, 0));
-     return tiff_read_region(tiff, dest,
-                             tile_col * tiffl->tile_w, tile_row * tiffl->tile_h,
--                            tiffl->tile_w, tiffl->tile_h, err);
-+                            tiffl->tile_w, clipped_h, err);
-   }
- }
- 

diff --git a/openslide.spec b/openslide.spec
index 534abdd..dd06dab 100644
--- a/openslide.spec
+++ b/openslide.spec
@@ -1,40 +1,27 @@
 Name:		openslide
-Version:	4.0.0
+Version:	4.0.1
 Release:	%autorelease
 Summary:	C library for reading virtual slides
 
 License:	LGPL-2.1-only
 URL:		https://openslide.org/
 Source0:	https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# https://github.com/openslide/openslide/pull/706
-Patch0:		libtiff-partial-tile.patch
 
 BuildRequires:	pkgconfig(cairo)
-BuildRequires:	pkgconfig(gdk-pixbuf-2.0)
 BuildRequires:	pkgconfig(glib-2.0)
-BuildRequires:	pkgconfig(libdicom)
+BuildRequires:	pkgconfig(libdicom) >= 1.3.0
 BuildRequires:	pkgconfig(libjpeg)
 BuildRequires:	pkgconfig(libopenjp2)
 BuildRequires:	pkgconfig(libpng)
 BuildRequires:	pkgconfig(libtiff-4)
 BuildRequires:	pkgconfig(libxml-2.0)
+BuildRequires:	pkgconfig(libzstd)
 BuildRequires:	pkgconfig(sqlite3)
 BuildRequires:	pkgconfig(zlib)
 
 BuildRequires:	gcc
 BuildRequires:	meson
 
-# Required for gdk-pixbuf2 to be able to load BMP images, including in tests
-%if (0%{?fedora} && 0%{?fedora} < 43) || 0%{?rhel} == 10
-BuildRequires:	gdk-pixbuf2-modules-extra
-Requires:	gdk-pixbuf2-modules-extra%{?_isa}
-%else
-%if 0%{?rhel}
-BuildRequires:	gdk-pixbuf2-modules
-Requires:	gdk-pixbuf2-modules%{?_isa}
-%endif
-%endif
-
 
 %description
 The OpenSlide library allows programs to access virtual slide files
@@ -67,7 +54,7 @@ with virtual slides.
 
 %build
 # don't rebuild docs, since Doxygen configs are version-specific
-%meson -Ddoc=disabled
+%meson -Ddoc=disabled -Dtest=disabled
 %meson_build
 
 

diff --git a/sources b/sources
index dc7b17c..c524b5f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (openslide-4.0.0.tar.xz) = aa8f43631a8492491cd3b96346b4292206a1247ca1ffb594a3a58a5322a21396ad2d2074803384e99012b8e8af9649eb429e4e10c2fa55c1a04dfeab4b9a8165
+SHA512 (openslide-4.0.1.tar.xz) = 463899514ef6c4b6421e5eb1da390503b6024ffabd3535947eceda16ddbede7718542ff46e6213b65503f1bdb3bbccaa3d4ad99805698ce9a16036b00157b3c1

                 reply	other threads:[~2026-06-08  4:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178089403115.1.5584112844726256541.rpms-openslide-c6d484527611@fedoraproject.org \
    --to=bgilbert@backtick.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox