Update to cairo-1.14.8.
ok eric@ (maintainer)
This commit is contained in:
parent
07681c559d
commit
fc4192d196
@ -1,9 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.62 2016/06/23 07:34:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.63 2016/12/09 20:55:52 ajacoutot Exp $
|
||||
|
||||
COMMENT= vector graphics library
|
||||
|
||||
DISTNAME= cairo-1.14.6
|
||||
REVISION= 1
|
||||
DISTNAME= cairo-1.14.8
|
||||
|
||||
CATEGORIES= graphics
|
||||
DPB_PROPERTIES= parallel
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (cairo-1.14.6.tar.xz) = YTyzhEe3apP/cjXhes1Vp4tS6oSp3xKMPyJX+OqnslI=
|
||||
SIZE (cairo-1.14.6.tar.xz) = 36040596
|
||||
SHA256 (cairo-1.14.8.tar.xz) = 0fLZiumkERVk9t5OAT1jnPdxVbryVWWCKVoPAKm8XiA=
|
||||
SIZE (cairo-1.14.8.tar.xz) = 35392464
|
||||
|
@ -1,27 +0,0 @@
|
||||
$OpenBSD: patch-src_cairo-xlib-surface_c,v 1.10 2016/06/23 07:34:07 ajacoutot Exp $
|
||||
|
||||
From d69dd6b341594c338fa6c7b327fd7f201eb37bc1 Mon Sep 17 00:00:00 2001
|
||||
From: Uli Schlachter <psychon@znc.in>
|
||||
Date: Sat, 18 Jun 2016 15:08:52 +0200
|
||||
Subject: xlib: Fix double free in _get_image_surface()
|
||||
|
||||
--- src/cairo-xlib-surface.c.orig Tue Oct 27 22:04:30 2015
|
||||
+++ src/cairo-xlib-surface.c Thu Jun 23 09:27:19 2016
|
||||
@@ -807,6 +807,7 @@ _get_image_surface (cairo_xlib_surface_t *surface,
|
||||
}
|
||||
|
||||
cairo_surface_destroy (&image->base);
|
||||
+ image = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1011,7 +1012,8 @@ _get_image_surface (cairo_xlib_surface_t *surface,
|
||||
cairo_device_release (&display->base);
|
||||
|
||||
if (unlikely (status)) {
|
||||
- cairo_surface_destroy (&image->base);
|
||||
+ if (image)
|
||||
+ cairo_surface_destroy (&image->base);
|
||||
return _cairo_surface_create_in_error (status);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user