vbo: check array indexes to prevent negative indexing
authorBrian Paul <brianp@vmware.com>
Wed, 8 Jun 2011 14:05:41 +0000 (08:05 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 8 Jun 2011 14:05:41 +0000 (08:05 -0600)
commitf1cdce95f606584a56eabf3b38eea19ff4c75757
tree7ba16e0083afb7e0013c8208473a712f69a88e41
parenta25271fcb8d12298e64890cad25919938ae12018
vbo: check array indexes to prevent negative indexing

See the piglit dlist-fdo31590.c test

NOTE: This is a candidate for the 7.10 branch.
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_save_api.c