commit | ed87c2b2e7dd34016017af183b8f3fbe28179bc1 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Fri Sep 19 13:43:11 2014 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Sep 19 15:32:20 2014 -0700 |
tree | fc75ae737183ec9db5ee54ccaff24137661e0592 | |
parent | 922b83b4aaae5d6071a1ede88c04bfa834fa5119 [diff] |
staging: vt6655: buffer overflow in ioctl ->u.generic_elem.len is a user controlled number between 0-255. We should limit it to avoid memory corruption. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>