comparison: fix a NULL dereference
commitbba708bc43aef0998c5124f7ef0644f49c07febf
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Jun 2018 14:06:22 +0000 (7 17:06 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 7 Jun 2018 14:06:22 +0000 (7 17:06 +0300)
tree255d92d96f8c23b9c0ca858b50c7a9672b5b9352
parenta42f6d5e93db2967a3ab1b776dc0dc79caabe2b3
comparison: fix a NULL dereference

Apparently "state" can be NULL here...  I had built a kernel with this
code but only glanced at the results.  :(

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