[PATCH xserver] coverity findings v2

Tiago Vignatti tiago.vignatti at nokia.com
Mon Apr 19 10:58:01 PDT 2010


Hi,

I had check all commentaries people gave and reworked accordingly. Let's see
if now looks better for you. 

Besides, the last two patches here no one commented, so I'm resending. Both
concern a not reached very old code (so gray hair people are very welcome to
comment on :).

Thanks,


Tiago Vignatti (8):
  xfree86: check for NULL pointer before dereferences it in parser code
  Xi: check for NULL pointer before dereferences it in ListButtonInfo
  dix: check for NULL pointer before dereferences it in
    DeviceEnterLeaveEvent
  exa: don't need to check for NULL pointer if we already assumed it
    has a value
  xkb: check for NULL pointer before dereferences it in
    XkbWriteXKBSymbols
  xkb: check for NULL pointer before dereferences it in
    XkbAddClientResource
  xfree86: fix not reached code in tty code
  xfree86: fix not reached code in fi1236 driver from i2c

 Xi/xiquerydevice.c                       |    5 ++++-
 dix/events.c                             |    6 +++++-
 exa/exa.c                                |   14 ++++++--------
 hw/xfree86/i2c/fi1236.c                  |    4 ----
 hw/xfree86/os-support/shared/posix_tty.c |   13 -------------
 hw/xfree86/parser/scan.c                 |    7 +++++--
 xkb/xkbEvents.c                          |    3 +--
 xkb/xkbout.c                             |    2 +-
 8 files changed, 22 insertions(+), 32 deletions(-)



More information about the xorg-devel mailing list