summaryrefslogtreecommitdiff
path: root/os/access.c
diff options
context:
space:
mode:
authorPauli Nieminen <ext-pauli.nieminen@nokia.com>2010-05-14 16:25:43 +0300
committerKeith Packard <keithp@keithp.com>2010-05-14 12:26:38 -0700
commit1461b31e40a3e44f6327199d23cf2ab70d8f5176 (patch)
tree37484be1e68a33f61417f2443e77c59b5addada4 /os/access.c
parentf87002cb7d8729b1da4cbefe7653f4cfd3a2d956 (diff)
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>
Diffstat (limited to 'os/access.c')
0 files changed, 0 insertions, 0 deletions