Bug 2742 - cairo_clip() segfaults on bad width/height params
Summary: cairo_clip() segfaults on bad width/height params
Status: RESOLVED INVALID
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 0.9.3
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 13:43 UTC by Bob Jamison
Modified: 2007-07-02 11:53 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.