diff options
author | Dylan Noblesmith <[email protected]> | 2012-04-01 18:21:47 +0000 |
---|---|---|
committer | Dylan Noblesmith <[email protected]> | 2012-04-13 14:25:07 +0000 |
commit | ccff74971203b533bf16b46b49a9e61753f75e6c (patch) | |
tree | 554ed5e32920065420d78d590e256efc66a727a8 /src/glu/sgi/libutil | |
parent | 10ec14865aa7d0110ae202011be36d6e4a7ba154 (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/glu/sgi/libutil')
0 files changed, 0 insertions, 0 deletions