SHA256
1
0
forked from pool/cairo

Accepting request 505069 from home:alarrosa:branches:GNOME:Factory

- Add 0001-image-prevent-invalid-ptr-access-for-4GB-images.patch to
  fix a segfault when using >4GB images since int values were used
  for pointer operations (bsc#1007255, fdo#98165, CVE-2016-9082).

OBS-URL: https://build.opensuse.org/request/show/505069
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/cairo?expand=0&rev=121
This commit is contained in:
Bjørn Lie
2017-06-20 16:43:46 +00:00
committed by Git OBS Bridge
parent 5861c0bfa5
commit d1ec2e050c
3 changed files with 132 additions and 0 deletions

View File

@@ -33,6 +33,8 @@ Patch0: cairo-xlib-endianness.patch
Patch1: cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff
# PATCH-FIX-UPSTREAM cairo-fix-off-by-one-check.patch fdo#101427 zaitor@opensuse.org -- Fix off by one check in cairo-image-info.c
Patch2: cairo-fix-off-by-one-check.patch
# PATCH-FIX-UPSTREAM 0001-image-prevent-invalid-ptr-access-for-4GB-images.patch alarrosa@suse.com -- Fix segfault when using >4GB images
Patch3: 0001-image-prevent-invalid-ptr-access-for-4GB-images.patch
BuildRequires: gtk-doc
BuildRequires: pkg-config
BuildRequires: pkgconfig(fontconfig)
@@ -141,6 +143,7 @@ cairo.
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure \