summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/symbol_table.c
diff options
context:
space:
mode:
authorJuha-Pekka Heikkila <[email protected]>2014-04-02 16:13:57 +0300
committerTapani Pälli <[email protected]>2014-04-02 19:54:37 +0300
commit68a45b130e12d5a1d6c7dca20a930b9433ec1992 (patch)
tree46bf02818bbb89ec6fc7c7dcaa8f0f11bb67ac8d /src/mesa/program/symbol_table.c
parent1056c50d574eebaf5a1769f52d95b022aaf27c80 (diff)
mesa: Prevent negative indexing on noise2, noise3 and noise4
% operator could return negative value which would cause indexing before perm table. Change %256 to &0xff Signed-off-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/program/symbol_table.c')
0 files changed, 0 insertions, 0 deletions