commit | d1fec5bdeb18ff98fbe317a9454bcd1fe8da1bee | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu May 18 10:50:19 2017 -0300 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Fri May 19 06:57:29 2017 -0300 |
tree | d8628712aa094310412b81bf6ed5f17d5a87c35e | |
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>