Bug 3878

Summary: typo in cairo-xlib-surface.c can cause an infinite loop
Product: cairo Reporter: Bertram Felgenhauer <bertram.felgenhauer>
Component: xlib backendAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: normal    
Priority: high    
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:

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.