strings: truncating large strings causes SQL problems (ignore large strings)
commitc3707c6a0f89e4382b02ea5f392caa6b9d69c8ca
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Sep 2018 13:58:15 +0000 (11 16:58 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Sep 2018 13:58:15 +0000 (11 16:58 +0300)
tree5fb93d4f5f89f718c8e1035547790e378821bc1b
parentdb59807bc2008bf59b6ebee19d7965d1d1c1d009
strings: truncating large strings causes SQL problems (ignore large strings)

The issue here is that we're trying to save huge assembly text in the DB
and a bunch of code assumes strings are shorter than 256 characters.  We
end up truncating it and then getting an SQL error.

Just don't bother saving it, because it doesn't add anything.

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