diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-18 10:50:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 06:57:29 -0300 |
commit | d1fec5bdeb18ff98fbe317a9454bcd1fe8da1bee (patch) | |
tree | d8628712aa094310412b81bf6ed5f17d5a87c35e /drivers/media/usb/pwc/pwc-v4l.c | |
parent | 02d978318b0983e7af6bbc9c1f9861b0d6983e37 (diff) |
[media] atomisp: one char read beyond end of string
We should verify that "ix < max_len" before we test whether we have
reached the NUL terminator.
Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/usb/pwc/pwc-v4l.c')
0 files changed, 0 insertions, 0 deletions