xserver-multidpi/hw/xfree86
Pauli Nieminen 1461b31e40 dri2: Fix xserver crash if dri2 buffer allocation fails.
If driver fails to allocate memory for dri2 buffer server would crash
in send_buffers_reply.

Solution is to handle the allocation failure and return BadAlloc to
client.

Signed-off-by: Pauli Nieminen <ext-pauli.nieminen@nokia.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-05-14 12:26:38 -07:00
..
common Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
ddc Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
dixmods Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
doc xfree86: Fix reference to SGML entities 2010-04-26 11:35:53 -05:00
dri Eliminate boilerplate around client->noClientException. 2010-05-13 17:14:07 -07:00
dri2 dri2: Fix xserver crash if dri2 buffer allocation fails. 2010-05-14 12:26:38 -07:00
exa Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
fbdevhw Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
i2c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
int10 Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
loader Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
modes Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
os-support Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
parser xfree86: check for NULL pointer before dereferences it in parser code 2010-04-21 18:07:17 +03:00
ramdac Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
shadowfb Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
utils Fix .man.N targets for AM_SILENT_RULES 2010-03-22 00:45:55 -05:00
vbe Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
vgahw Quit using clientErrorValue in dix/colormap.c. 2010-05-13 17:14:07 -07:00
x86emu Convert x86emu fixed size int typedefs to use stdint types 2010-04-07 16:18:24 -07:00
xaa Replace dixChangeGC with calls directly to the right variant. 2010-05-13 17:14:07 -07:00
xf8_16bpp Update several of my and/or Red Hat's licenses to standard form. 2009-05-14 07:02:44 -04:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Fix relink targets for silent rules 2010-03-22 00:45:52 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00