summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/intel_tex_copy.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-02-25 11:57:44 -0800
committerEric Anholt <eric@anholt.net>2009-07-07 15:16:28 -0700
commit058e96916b1ee661dfc16052b79b3aa9fcb47690 (patch)
tree533a7c9711e2aef13baee43357c67e231ebded47 /src/mesa/drivers/dri/i965/intel_tex_copy.c
parent28471cfa970702128d822c2ecbb1703eedbca245 (diff)
Cap array elements at 0 when passed an invalid pointer for an array object.
Otherwise, a pointer greater than the size would underflow and give a large maximum element. Reviewed-by: Brian Paul <brianp@vmware.com> (previous version)
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_tex_copy.c')
0 files changed, 0 insertions, 0 deletions