History log of /xsrc/external/mit/xorg-server/dist/include/regionstr.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# f7df2e56 11-Aug-2016 mrg <mrg@NetBSD.org>

first merge of netbsd changes. not tested yet.

# e9ed4b75 01-Mar-2015 mrg <mrg@NetBSD.org>

port a change back from newer xorg-server, which is needed
for xf86-video-ati 7.x.

http://lists.x.org/archives/xorg-devel/2011-March/020990.html

commit 43e47433cf55c98db5308a51c1c514c59901f598
Author: Søren Sandmann Pedersen <ssp at redhat.com>
Date: Tue Mar 29 13:06:36 2011 -0400

Add RegionInitBoxes(), and fix some buggy callers of RegionInit().

The interface to RegionInit():

RegionInit (RegionPtr pReg, BoxPtr rect, int size);

is very confusing because it doesn't take a list of boxes, it takes
*one* box, but if that box is NULL, it initializes an empty region
with 'size' rectangles preallocated.

Most callers of this function were correctly passing either NULL or
just one box, but there were three confused cases, where the code
seems to expect a region to be created from a list of boxes.

This patch adds a new function RegionInitBoxes() and fixes those
instances to call that instead.

And yes, the pixman function to initialize a region from a list of
boxes is called init_rects() because pixman is also awesome.

V2: Make RegionInitBoxes() return a Bool indicating whether the call
succeeded, and fix the callers to check this return value.

Signed-off-by: Soren Sandmann <ssp at redhat.com>

# 84d2488f 06-Feb-2015 christos <christos@NetBSD.org>

fix previous.

# c1d44f47 06-Feb-2015 christos <christos@NetBSD.org>

fix signed/unsigned comparison.

# 0b0d8713 09-Dec-2014 mrg <mrg@NetBSD.org>

apply fixes for:

X.Org Security Advisory: Dec. 9, 2014
Protocol handling issues in X Window System servers

backported to 1.10.x by myself.


included are fixes for:

denial of service due to unchecked malloc in client authentication
CVE-2014-8091
integer overflows calculating memory needs for requests
CVE-2014-8092
CVE-2014-8093
CVE-2014-8094
out of bounds access due to not validating length or offset values in requests
CVE-2014-8095
CVE-2014-8096
CVE-2014-8097
CVE-2014-8098
CVE-2014-8099
CVE-2014-8100
CVE-2014-8101
CVE-2014-8102
CVE-2014-8103

# 6747b715 23-Nov-2010 mrg <mrg@NetBSD.org>

import xorg-server 1.9.2. important changes since 1.6.5 include:

- built-in symbol visibility, default not export
- fixes for various crashes
- many fixes for XI2, EXA, dix, render, glx, xkb, EDID, randr, Xv,
resource handling, Xext, vfb, xfree86 / vga and composite support.
- fixes several memory leaks
- many many documentation updates
- record extension enabled
- no longer looks for XF86Config files

# 4642e01f 11-Jun-2009 mrg <mrg@NetBSD.org>

initial import of xorg-server-1.6.1.901

# 05b261ec 31-Jul-2008 mrg <mrg@NetBSD.org>

initial import of xorg-server-1.4.2