SHA256
1
0
forked from pool/libwebp

Accepting request 1094314 from home:xiaoguang_wang:branches:graphics

- Add libwebp-double-free.patch: Avoid a double free, upstream
  commit a486d800 (bsc#1210212 CVE-2023-1999).

OBS-URL: https://build.opensuse.org/request/show/1094314
OBS-URL: https://build.opensuse.org/package/show/graphics/libwebp?expand=0&rev=31
This commit is contained in:
2023-06-21 10:55:23 +00:00
committed by Git OBS Bridge
parent fee36aeb4a
commit 552f574b2f
3 changed files with 64 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package libwebp
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,10 @@ Source: https://storage.googleapis.com/downloads.webmproject.org/release
Source2: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-%version.tar.gz.asc
Source3: %name.keyring
Source4: baselibs.conf
# PATCH-FIX-UPSTREAM libwebp-double-free.patch bsc#1210212 CVE-2023-1999 xwang@suse.com -- Avoid a double free
Patch0: libwebp-double-free.patch
BuildRequires: giflib-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glut)
@@ -118,11 +122,11 @@ common imports - WebPImportGray/WebPImportRGB565/WebPImportRGB4444.
%package devel
Summary: Development files for libwebp, a library for the WebP format
Group: Development/Libraries/C and C++
Requires: libsharpyuv0 = %version
Requires: libwebp7 = %version
Requires: libwebpdecoder3 = %version
Requires: libwebpdemux2 = %version
Requires: libwebpmux3 = %version
Requires: libsharpyuv0 = %version
%if %{with extras}
Requires: libwebpextras0 = %version
%endif