summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_vertex_program.c
diff options
context:
space:
mode:
authorTomeu Vizoso <[email protected]>2017-05-19 12:40:44 +0200
committerLucas Stach <[email protected]>2017-05-30 11:45:10 +0200
commit106b2786b66d1400899718ba98ce1d5311b8e712 (patch)
tree30cc73edd6f5e51963c724ebac910e29e56dad94 /src/glx/indirect_vertex_program.c
parentd529d5ff16c66aee3d27252e6478f9f97bd6012d (diff)
etnaviv: Don't try to use the index buffer if size is zero
If info->index_size is zero, info->index will point to uninitialized memory. Fatal signal 11 (SIGSEGV), code 2, fault addr 0xab5d07a3 in tid 20456 (surfaceflinger) lst: Remove useless indexbuf conditional in the index_size != 0 case. Fixes: 330d0607ed60 ("gallium: remove pipe_index_buffer and set_index_buffer") Signed-off-by: Tomeu Vizoso <[email protected]> Reviewed-by: Lucas Stach <[email protected]>
Diffstat (limited to 'src/glx/indirect_vertex_program.c')
0 files changed, 0 insertions, 0 deletions