summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nouveau_buffer.c
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-04-01 18:21:47 +0000
committerDylan Noblesmith <[email protected]>2012-04-13 14:25:07 +0000
commitccff74971203b533bf16b46b49a9e61753f75e6c (patch)
tree554ed5e32920065420d78d590e256efc66a727a8 /src/gallium/drivers/nouveau/nouveau_buffer.c
parent10ec14865aa7d0110ae202011be36d6e4a7ba154 (diff)
util: fix undefined behavior
container_of() can legally return anything, even invalid addresses that cause segfaults, when 'sample' is an uninitialized pointer. Bug exposed by clang. NOTE: This is a candidate for the 8.0 branch.
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_buffer.c')
0 files changed, 0 insertions, 0 deletions