mesa: Prevent possible out-of-bounds read by save_SamplerParameteriv.
authorVinson Lee <vlee@freedesktop.org>
Thu, 6 Jun 2013 06:01:00 +0000 (23:01 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 8 Jun 2013 20:32:53 +0000 (13:32 -0700)
commitce1f85133d15098ae97a28bbcfa13c4995b772e2
tree8f0ab3c3089a488ab0db75bc2bdc5e3a7c2a016f
parent26e047dec8dce96b7895feb8b77391c4a58a3895
mesa: Prevent possible out-of-bounds read by save_SamplerParameteriv.

Fixes "Out-of-bounds access" defect reported by Coverity.

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