mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 19:40:10 +01:00
mesa: fix out of bounds array access in rtgc debug code
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=39841 This would only be hit if someone set RGTC_DEBUG=1.
This commit is contained in:
parent
d6a0692f9d
commit
1c8d079e20
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ static void TAG(encode_rgtc_chan)(TYPE *blkaddr, TYPE srccolors[4][4],
|
|||
fprintf(stderr, "%d ", alphaenc1[i]);
|
||||
}
|
||||
fprintf(stderr, "cutVals ");
|
||||
for (i = 0; i < 8; i++) {
|
||||
for (i = 0; i < 7; i++) {
|
||||
fprintf(stderr, "%d ", acutValues[i]);
|
||||
}
|
||||
fprintf(stderr, "srcVals ");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue