Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to
authorAdam Jackson <ajax@freedesktop.org>
Sun, 2 Apr 2006 23:51:30 +0000 (23:51 +0000)
committerAdam Jackson <ajax@freedesktop.org>
Sun, 2 Apr 2006 23:51:30 +0000 (23:51 +0000)
commit05ddc4a6c59f4bd288d322594afe4ac561d07fa7
tree116c45dbed282b1d163a56ca40709e89ac965b5a
parentb3208c2de9ba2ba5c32af1fc6b11fec9418256ed
Coverity #476: Avoid walking off the end of ->vtx.attrsz, it's declared to
be _TNL_ATTRIB_MAX long so that's not a valid index (woo zero based
indexing).

This code still looks wrong though, the asymmetry between _tnl_copy_to_current
and _tnl_copy_from_current has me worried.
src/mesa/tnl/t_vtx_api.c