[Intel-gfx] [PATCH 00/12] drm: Fix various static analysis issues
Praveen Paneri
praveen.paneri at intel.com
Thu Apr 2 01:32:15 PDT 2015
This patch set fixes various issues reported by a static
analysis tool.
Praveen Paneri (12):
intel: Validate bo_fake before using.
intel: Validate output of realloc()
intel: Use snprintf instead of sprintf
intel: Validate pointer before using
xf86drm: Avoid negative array index value
xf86drmSL: Check function return value
intel: Validate memory allocations
drm: Validate memory allocations
xf86drmSL: Check memory allocation by SL_RANDOM_INIT()
xf86drmHash: Check memory allocation in HashHash()
xf86drm: Validate function return value
xf86drmSL: Add missing function call to SLLocate()
intel/intel_bufmgr_fake.c | 20 ++++++++----
intel/intel_bufmgr_gem.c | 40 ++++++++++++++++++------
intel/intel_decode.c | 14 ++++++---
xf86drm.c | 77 ++++++++++++++++++++++++++++++++++++-----------
xf86drmHash.c | 9 ++++++
xf86drmSL.c | 8 +++++
6 files changed, 131 insertions(+), 37 deletions(-)
--
1.9.1
More information about the Intel-gfx
mailing list