Bug 2742

Summary: cairo_clip() segfaults on bad width/height params
Product: cairo Reporter: Bob Jamison <rjamison>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED INVALID QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high CC: jwatt
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Bob Jamison 2005-03-15 13:43:35 UTC
If cairo_clip() is passed width or height values <=0, cairo_clip()'s
subsequent calls to other functions will have a NULL for the 'traps'
variable.

I don't know if this is a real bug (GIGO), but maybe there should
be a parameter check at the top?
Comment 1 Owen Taylor 2005-08-18 17:45:49 UTC
cairo_clip() has no additional parameters....

A test case that reproduces the problem would be much appreciated.
Comment 2 Carl Worth 2005-08-22 17:15:09 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.
Comment 3 Kalle Vahlman 2007-07-02 11:53:05 UTC
I'm closing this as invalid, since none of the clip functions take arguments (at least today).

Please reopen and provide a test case if possible if this still is a valid problem.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.