]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/xserver.git/blob - debian/patches/167_nullptr_xisbread.patch
Applied all debian/patches from glsdk-6_00_00_07 release
[glsdk/xserver.git] / debian / patches / 167_nullptr_xisbread.patch
1 Index: xorg-server/hw/xfree86/common/xisb.c
2 ===================================================================
3 --- xorg-server.orig/hw/xfree86/common/xisb.c   2011-08-24 12:52:45.315647139 +0300
4 +++ xorg-server/hw/xfree86/common/xisb.c        2011-08-24 12:56:49.655650624 +0300
5 @@ -98,6 +98,9 @@
6  {
7         int ret;
8  
9 +        if (b == NULL)
10 +            return -2;
11 +
12         if (b->current >= b->end)
13         {
14                 if (b->block_duration >= 0)