validation: update sm_array_overflow.c
commitd8ec48c6d6f4c62df34c2489658ee9b893311120
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Feb 2016 06:14:38 +0000 (10 09:14 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Wed, 10 Feb 2016 06:14:38 +0000 (10 09:14 +0300)
tree7747dce23d56faaae95f8a5458cc2a22b380f623
parent8c7c205f237167cabc4852a31ff23c0dacfd7db9
validation: update sm_array_overflow.c

After warning the first time then we assume the value is in bounds.
Apparently it only works for arrays so only the c[i] and d[i] usages
turn off the warnings.

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