diff options
author | Emil Velikov <[email protected]> | 2014-01-15 11:39:24 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-01-15 14:33:28 +0000 |
commit | bfcf78c1101a1cbcdd9a479722203047c8d6c26a (patch) | |
tree | e71e4aa3f053e543140ab5e8a09b7bf3528fa156 /src/mesa/vbo/vbo_rebase.c | |
parent | 3515a648a95134e04234f98d6630c2067069f1d6 (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/vbo/vbo_rebase.c')
0 files changed, 0 insertions, 0 deletions