expressions: don't crash on invalid code
commit06a45550d39e14a58be8022cf2f10bfc9603c44b
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 Sep 2018 12:32:24 +0000 (20 15:32 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 20 Sep 2018 12:32:24 +0000 (20 15:32 +0300)
tree15feaef4dc00c8153300ed43e91412738b896dbd
parentf14387566f2360e0888186fa8d29d51bbc867a26
expressions: don't crash on invalid code

This patch fixes a segmentation fault when we're parsing invalid code.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_expressions.c