Hello community, here is the log from the commit of package cairo for openSUSE:Factory checked in at 2017-06-19 13:23:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cairo (Old) and /work/SRC/openSUSE:Factory/.cairo.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cairo" Mon Jun 19 13:23:04 2017 rev:77 rq:504299 version:1.15.6 Changes: -------- --- /work/SRC/openSUSE:Factory/cairo/cairo.changes 2017-06-12 15:08:17.960661542 +0200 +++ /work/SRC/openSUSE:Factory/.cairo.new/cairo.changes 2017-06-19 13:23:07.362701320 +0200 @@ -1,0 +2,29 @@ +Fri Jun 16 19:11:41 UTC 2017 - zai...@opensuse.org + +- Update to version 1.15.6: + + Detect if variable fonts have synthesized bold/italic or + non-default variants, and use a fallback font where needed. + + Restore MacOSX 10.4 support. Cairo had dropped 10.4 support + when moving to the CoreText API. Now we automatically detect + which API to use via dynamic linking, so can resume supporting + this older version of MacOSX. + + Fix error reporting in the xcb backend if fallback fails. + Instead of returning NULL when the X11 server can't do some + operation, return a surface in an error state. + + Call XSync in the xlib backend before setting the error handler + to ignore errors for certain requests, to make sure all pending + errors are handled first. + + Fix text-glyph-range for quartz-font. Use 0xFFFF instead of 0 + for invalid index tracking. + + Fix handling of Supplementary Multilingual Plane (SMP) Unicode + characters in quartz-font. + + Fix various issues in the drm backend including updating API + usage and general code cleanup. + + Clarify documentation regarding device scale inheritance and + the units used in cairo_surface_create_similar_image + (fdo#99094). +- Drop cairo-pdf-fixes.patch: Fixed upstream. +- Add cairo-fix-off-by-one-check.patch: Fix off by one check in + cairo-image-info.c (fdo#101427). + +------------------------------------------------------------------- Old: ---- cairo-1.15.4.tar.xz cairo-pdf-fixes.patch New: ---- cairo-1.15.6.tar.xz cairo-fix-off-by-one-check.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cairo.spec ++++++ --- /var/tmp/diff_new_pack.Yrnk4J/_old 2017-06-19 13:23:09.218439684 +0200 +++ /var/tmp/diff_new_pack.Yrnk4J/_new 2017-06-19 13:23:09.222439120 +0200 @@ -19,7 +19,7 @@ %define build_xcb_backend 1 %define build_gl_backend 1 Name: cairo -Version: 1.15.4 +Version: 1.15.6 Release: 0 Summary: Vector Graphics Library with Cross-Device Output Support License: LGPL-2.1+ or MPL-1.1 @@ -29,10 +29,10 @@ Source99: baselibs.conf # PATCH-FIX-UPSTREAM cairo-xlib-endianness.patch fdo#63461 bnc#882951 fcro...@suse.com -- Fix crash when client and server have different endianness Patch0: cairo-xlib-endianness.patch -# PATCH-FIX-UPSTREAM cairo-pdf-fixes.patch fdo#99630 zai...@opensuse.org -- Three minor pdf fixes from upstream git. -Patch1: cairo-pdf-fixes.patch # PATCH-FIX-UPSTREAM cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff alarr...@suse.com -- Fix segfault in get_bitmap_surface -Patch2: cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff +Patch1: cairo-get_bitmap_surface-bsc1036789-CVE-2017-7475.diff +# PATCH-FIX-UPSTREAM cairo-fix-off-by-one-check.patch fdo#101427 zai...@opensuse.org -- Fix off by one check in cairo-image-info.c +Patch2: cairo-fix-off-by-one-check.patch BuildRequires: gtk-doc BuildRequires: pkg-config BuildRequires: pkgconfig(fontconfig) @@ -105,9 +105,9 @@ %package tools Summary: Utilities for cairo, a Vector Graphics Library with Cross-Device Output Support +# We need an explicit requires since nothing links to the cairo library License: GPL-3.0+ Group: Development/Libraries/X11 -# We need an explicit requires since nothing links to the cairo library Requires: libcairo2 = %{version} # Named changed during development of 11.4 Provides: %{name}-utils = %{version} ++++++ cairo-1.15.4.tar.xz -> cairo-1.15.6.tar.xz ++++++ /work/SRC/openSUSE:Factory/cairo/cairo-1.15.4.tar.xz /work/SRC/openSUSE:Factory/.cairo.new/cairo-1.15.6.tar.xz differ: char 25, line 1 ++++++ cairo-fix-off-by-one-check.patch ++++++ >From 57b40507dda3f58dfc8635548d606b86dc7bcf51 Mon Sep 17 00:00:00 2001 From: Adrian Johnson <ajohn...@redneon.com> Date: Thu, 15 Jun 2017 20:53:29 +0930 Subject: Fix off by one check in cairo-image-info.c https://bugs.freedesktop.org/show_bug.cgi?id=101427 diff --git a/src/cairo-image-info.c b/src/cairo-image-info.c index 2ecce95..3b4cf6e 100644 --- a/src/cairo-image-info.c +++ b/src/cairo-image-info.c @@ -154,7 +154,7 @@ _cairo_image_info_get_jpeg_info (cairo_image_info_t *info, break; } - if (p + 2 > data + length) + if (p + 3 > data + length) return CAIRO_INT_STATUS_UNSUPPORTED; p = _jpeg_skip_segment (p); -- cgit v0.10.2