commit | ccff74971203b533bf16b46b49a9e61753f75e6c | [log] [tgz] |
---|---|---|
author | Dylan Noblesmith <nobled@dreamwidth.org> | Sun Apr 01 18:21:47 2012 +0000 |
committer | Dylan Noblesmith <nobled@dreamwidth.org> | Fri Apr 13 14:25:07 2012 +0000 |
tree | 554ed5e32920065420d78d590e256efc66a727a8 | |
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.