helper: fix crashing bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Sep 2013 09:43:19 +0000 (12:43 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Sep 2013 09:43:19 +0000 (12:43 +0300)
commitb43a50f4edaf4c072de67615e5cfbc5bad4577e8
treea8b4bd37e6035a8585a1c885eaef9e83303ea5fc
parent1a5b79a37f1ac518e926c6fcab633faabb748578
helper: fix crashing bug

This has problems parsing unions.  The fix is not very beautiful but it
doesn't make anything worse.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_helper.c