ranges: a pointer to an array is just a pointer
commit7dfd5842d85953dcf31460087c4af66cb3f8a7f6
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Sep 2014 09:34:19 +0000 (4 12:34 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 4 Sep 2014 09:34:19 +0000 (4 12:34 +0300)
treef1cb8cba04da8d38d0e7819638435e039ca6556b
parente346ec4d6b2d46713043dd1ca24df58fa0e2f020
ranges: a pointer to an array is just a pointer

Say you have:

char buf[10];
char *p = buf;

The the type of "buf" is a SYM_ARRAY and p should be in range long min to
long max.  Before it could be something weird.

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