summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vertex_sse.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-06-05 16:56:20 -0500
committerJason Ekstrand <[email protected]>2019-06-06 00:27:53 +0000
commit8306dabc03c9a030cacd078b56446e6548224a23 (patch)
tree7ebf83403956268d5ba78adee5eee5e149e213d5 /src/mesa/tnl/t_vertex_sse.c
parent7a18ce0b9119898b6d58b8e76495a40a9fe71765 (diff)
util/set: Assert that keys are not reserved pointers
If we insert a NULL key, it will appear to succeed but will mess up entry counting. Similar errors can occur if someone accidentally inserts the deleted key. The later is highly unlikely but technically possible so we should guard against it too. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/tnl/t_vertex_sse.c')
0 files changed, 0 insertions, 0 deletions