buf_size: don't crash on invalid code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Feb 2013 18:23:40 +0000 (21:23 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 6 Feb 2013 18:23:40 +0000 (21:23 +0300)
commit3b0b0f7201dbb0bd5a1e9ad4d47bbb6a94fc7f67
tree6ad25e02314d1b5f6b7c988eed7e41a74922844a
parent6c671f17f00844147419252846c7014ae051ff57
buf_size: don't crash on invalid code

The code which triggers this can't compile, but I spent some time figuring
out why Smatch crashed so now I'm committing this change.

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