summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-01-15 11:39:24 +0000
committerEmil Velikov <[email protected]>2014-01-15 14:33:28 +0000
commitbfcf78c1101a1cbcdd9a479722203047c8d6c26a (patch)
treee71e4aa3f053e543140ab5e8a09b7bf3528fa156 /src/mesa/main/teximage.c
parent3515a648a95134e04234f98d6630c2067069f1d6 (diff)
st/mesa: use signed temporary variable to store _ColorDrawBufferIndexes
The temporary variable used to store _ColorDrawBufferIndexes must be signed (GLint), otherwise the following conditional will be incorrectly evaluated. Leading to crashes in the driver/mesa or accessing/writing to arbitrary memory location. The bug dates back to 2009. Cc: 10.0 9.2 9.1 <[email protected]> Reviewed-by: Marek Olšák <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions