aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ident-list.h
diff options
authorVegard Nossum <vegardno@ifi.uio.no>2008-05-25 10:29:19 +0200
committerJosh Triplett <josh@freedesktop.org>2008-07-14 11:19:48 -0700
commitcb08a60a883504a84ced36e1d1e16c93c69bb7e4 (patch)
treeca41a992f3977065ab974a6cfc45f3bf0d280c73 /ident-list.h
parentdd82c7033c4644299d3a8d7ed2f6b2422281b0cc (diff)
downloadsparse-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 'ident-list.h')
0 files changed, 0 insertions, 0 deletions