Bug 3878 - typo in cairo-xlib-surface.c can cause an infinite loop
Summary: typo in cairo-xlib-surface.c can cause an infinite loop
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: xlib backend (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-07-26 17:57 UTC by Bertram Felgenhauer
Modified: 2005-08-22 00:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Bertram Felgenhauer 2005-07-26 17:57:02 UTC
The innermost loop in the function _cairo_xlib_screen_from_visual() in
cairo-xlib-surface.c increments the wrong variable, causing it to hang if
neither the default visual nor the first visual of the first screen match the
given visual for the given dpy.
Comment 1 Bertram Felgenhauer 2005-07-26 17:58:34 UTC
Created attachment 3148 [details]
Makefile for build this test
Comment 2 Carl Worth 2005-07-28 01:55:23 UTC
David Reveman just committed this fix.
Comment 3 Carl Worth 2005-08-22 17:14:28 UTC
Move bugs against "cvs" version to "0.9.3" so we can remove the "cvs" version.


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.