[Mesa-dev] [PATCH 0/1] radeonsi: fixing Coverity issue

Jakob Sinclair sinclair.jakob at openmailbox.org
Sat Apr 23 12:05:22 UTC 2016


This patch fixes a Coverity defect. By checking if the value is negative before 
using it to index an array it makes the code a bit safer and cleaner but it
should not actually change the outcome of the functions.

CID: 1355598

Jakob Sinclair (1):
  radeonsi: check if value is negative

 src/gallium/drivers/radeonsi/si_state.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.8.0


More information about the mesa-dev mailing list