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