Bug 3017 - pixman_region_union_rect() and width/height zero rectangles
Summary: pixman_region_union_rect() and width/height zero rectangles
Status: RESOLVED FIXED
Alias: None
Product: pixman
Classification: Unclassified
Component: pixman (show other bugs)
Version: 0.1.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-04-13 14:06 UTC by Owen Taylor
Modified: 2005-08-21 20:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Owen Taylor 2005-04-13 14:06:47 UTC
pixman_region_union_rect(), contains:

    if (!width || !height)
        return PIXMAN_REGION_STATUS_FAILURE;

Which seems clearly wrong to me. It should be something like

        return pixman_region_copy(dst, src);
Comment 1 Owen Taylor 2005-08-22 12:15:34 UTC
2005-08-22  Owen Taylor  <otaylor@redhat.com>

        * src/pixregion.c (pixman_region_union_rect): When width/height
        are 0, copy the src to the dest, don't just return. (#3017)


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.