xserver-multidpi/hw
Alan Coopersmith 08f75d3a96 Avoid NULL pointer dereference in xf86TokenToOptinfo if token not found
Reported by parfait 1.1 code analyzer:

Error: Null pointer dereference (CWE 476)
   Read from null pointer 'p'
        at line 746 of hw/xfree86/common/xf86Option.c in function 'xf86TokenToOptName'.
          Function 'xf86TokenToOptinfo' may return constant 'NULL' at line 721, called at line 745.
          Null pointer introduced at line 721 in function 'xf86TokenToOptinfo'.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-02-05 18:34:26 -08:00
..
dmx Merge remote-tracking branch 'yselkowitz/master' 2012-12-19 12:22:03 -08:00
kdrive Free keymap on error in Xephyr's hostx_load_keymap 2013-02-05 18:30:31 -08:00
vfb vfb: Initialize the GLX extension again. 2012-11-21 11:13:55 +11:00
xfree86 Avoid NULL pointer dereference in xf86TokenToOptinfo if token not found 2013-02-05 18:34:26 -08:00
xnest dix: Remove #includes of mibstore.h 2012-09-23 10:31:27 -07:00
xquartz XQuartz: Don't add the 15bit visual any more 2012-12-18 01:37:27 -08:00
xwin Merge remote-tracking branch 'jturney/xserver-next' 2013-01-20 15:58:38 -08:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00