commit | 6dac3447425d932fa76a4e69d32eead9dd090b27 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sun Dec 02 13:36:09 2012 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 03 13:51:59 2012 -0500 |
tree | 83cb00258be6d34244785d069816e00247ce2839 | |
parent | 06ef5c4bbb9816e7a7eb44917f11c2e3375fb51a [diff] |
p54: potential signedness issue in p54_parse_rssical() "entries" is unsigned here, so it is never less than zero. In theory, len could be less than offset so I have added a check for that. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>