diff options
| author | Vegard Nossum <vegardno@ifi.uio.no> | 2008-05-25 10:29:19 +0200 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2008-07-14 11:19:48 -0700 |
| commit | cb08a60a883504a84ced36e1d1e16c93c69bb7e4 (patch) | |
| tree | ca41a992f3977065ab974a6cfc45f3bf0d280c73 /flow.c | |
| parent | dd82c7033c4644299d3a8d7ed2f6b2422281b0cc (diff) | |
| download | sparse-dev-cb08a60a883504a84ced36e1d1e16c93c69bb7e4.tar.gz | |
Set *tree to NULL on error
On "Syntax error in unary expression", the output parameter "tree" would be left
uninitialized and subsequently used in unary_expression(), leading to segfault.
Caught by valgrind and fixed by me ;-)
Signed-off-by: Vegard Nossum <vegardno@ifi.uio.no>
Diffstat (limited to 'flow.c')
0 files changed, 0 insertions, 0 deletions
