diff options
author | Eric Anholt <eric@anholt.net> | 2009-02-25 11:57:44 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2009-07-07 15:16:28 -0700 |
commit | 058e96916b1ee661dfc16052b79b3aa9fcb47690 (patch) | |
tree | 533a7c9711e2aef13baee43357c67e231ebded47 /src/mesa/drivers/dri/i810/i810_3d_reg.h | |
parent | 28471cfa970702128d822c2ecbb1703eedbca245 (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/i810/i810_3d_reg.h')
0 files changed, 0 insertions, 0 deletions