Re: [Mesa-dev] [PATCH] tgsi: fix out-of-bounds access for cube arrays

2015-03-26 Thread Roland Scheidegger
Am 27.03.2015 um 00:06 schrieb Ilia Mirkin: > The CUBE_ARRAY case uses r[4]. Make sure that the stack variable is > there. > > Noticed by Coverity. > > Signed-off-by: Ilia Mirkin > --- > src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --g

[Mesa-dev] [PATCH] tgsi: fix out-of-bounds access for cube arrays

2015-03-26 Thread Ilia Mirkin
The CUBE_ARRAY case uses r[4]. Make sure that the stack variable is there. Noticed by Coverity. Signed-off-by: Ilia Mirkin --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxilia