public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in x11-libs/cairo/files: cairo-1.8.6-status-return-fix.patch
@ 2009-02-23 21:48 Thomas Sachau (tommy)
  0 siblings, 0 replies; only message in thread
From: Thomas Sachau (tommy) @ 2009-02-23 21:48 UTC (permalink / raw
  To: gentoo-commits

tommy       09/02/23 21:48:58

  Added:                cairo-1.8.6-status-return-fix.patch
  Log:
  Status return fix from bug 250159
  (Portage version: 2.2_rc23/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  x11-libs/cairo/files/cairo-1.8.6-status-return-fix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/files/cairo-1.8.6-status-return-fix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/cairo/files/cairo-1.8.6-status-return-fix.patch?rev=1.1&content-type=text/plain

Index: cairo-1.8.6-status-return-fix.patch
===================================================================
From efa9e1088cbf1b5331cc0bab3348520f3b91ae4b Mon Sep 17 00:00:00 2001
From: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi>
Date: Thu, 13 Nov 2008 10:11:12 +0000
Subject: [clip] Fix uninitialised status return in _cairo_clip_intersect_mask() for empty extents.

This fixes the clip-all test case crashing for me.
---
diff --git a/src/cairo-clip.c b/src/cairo-clip.c
index 5bbffd7..726896e 100644
--- a/src/cairo-clip.c
+++ b/src/cairo-clip.c
@@ -423,7 +423,7 @@ _cairo_clip_intersect_mask (cairo_clip_t      *clip,
     cairo_box_t extents;
     cairo_rectangle_int_t surface_rect, target_rect;
     cairo_surface_t *surface = NULL;
-    cairo_status_t status;
+    cairo_status_t status = CAIRO_STATUS_SUCCESS;
 
     if (clip->all_clipped)
 	return CAIRO_STATUS_SUCCESS;
--
cgit v0.8.2






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-23 21:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-23 21:48 [gentoo-commits] gentoo-x86 commit in x11-libs/cairo/files: cairo-1.8.6-status-return-fix.patch Thomas Sachau (tommy)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox