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 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx