[Intel-gfx] [PATCH 0/9] external/drm: Fix static analysis issues

Praveen Paneri praveen.paneri at intel.com
Thu Mar 5 21:45:05 PST 2015


This patch set fixes various issues reported by a static
analysis tool.

Praveen Paneri (9):
  external/drm: Validate bo_fake before using.
  external/drm: Validate output of realloc()
  external/drm: Use snprintf instead of sprintf
  external/drm: Validate pointer before using
  external/drm: Validate function return value
  external/drm: Avoid negative array index value
  external/drm: Check function return value
  external/drm: Validate all memory allocations
  external/drm: Avoid uninitialized variable

 intel/intel_bufmgr_fake.c | 16 +++++++---
 intel/intel_bufmgr_gem.c  | 40 ++++++++++++++++++------
 intel/intel_decode.c      | 14 ++++++---
 xf86drm.c                 | 80 ++++++++++++++++++++++++++++++++++++-----------
 xf86drmHash.c             |  9 ++++++
 xf86drmSL.c               |  5 +++
 6 files changed, 128 insertions(+), 36 deletions(-)

-- 
1.9.1



More information about the Intel-gfx mailing list