common_functions: tweak strlen() so it doesn't go all the way up to s64max
commitf81ec7e1ffa33e60fba1d7b997c8ee35a45aecc9
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Jan 2015 08:58:57 +0000 (9 11:58 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Jan 2015 08:58:57 +0000 (9 11:58 +0300)
tree114e731eee5c1c55852c3127dc1d81c1b084d47d
parentc4f5e09570ad910ca99c24fedad7461ababe534e
common_functions: tweak strlen() so it doesn't go all the way up to s64max

Theoretically strlen() *can* go up to s64max, but in real life it's
difficult to arrange for that to happen in the kernel and it causes some
false positives.  Paper over that by saying the highest it can return is
101010.

Also the original code was using llong types and that's not correct.

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