diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2017-05-18 10:50:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 06:57:35 -0300 |
commit | c32e3d1b490e89c592d0c59f10fd267c4847cbaf (patch) | |
tree | 990c7c3c7e7b5678e3c2eacb911e8575ab01a8d4 /drivers/media/usb/pwc/pwc-v4l.c | |
parent | d1fec5bdeb18ff98fbe317a9454bcd1fe8da1bee (diff) |
[media] atomisp: putting NULs in the wrong place
We're putting the NUL terminators one space beyond where they belong.
This doesn't show up in testing because all but the callers put a NUL in
the correct place themselves. LOL. It causes a static checker warning
about buffer overflows.
Fixes: a49d25364dfb ("staging/atomisp: Add support for the Intel IPU v2")
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