mesa: Fix off-by-one error in Parse_TextureImageId.
authorVinson Lee <vlee@freedesktop.org>
Sat, 4 Aug 2012 06:51:34 +0000 (23:51 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sun, 5 Aug 2012 04:42:23 +0000 (21:42 -0700)
commit61b62c007a7941e9b45e83440e932160a597e0e1
tree01d9a1606fbd64f2fb273017176333d65038aa4d
parent3e7b3a04bf7667583dac18f1267d213aa7f33800
mesa: Fix off-by-one error in Parse_TextureImageId.

Fixes out-of-bounds write defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/program/nvfragparse.c