summaryrefslogtreecommitdiff
path: root/lib/cmpdi2.c
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2019-07-03 10:52:39 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-07-22 15:25:35 -0400
commit0c4df39e504bf925ab666132ac3c98d6cbbe380b (patch)
tree56fba84986acc1201ad3fb35970bdc7b58b7786d /lib/cmpdi2.c
parent5dd4b89dc098bf22cd13e82a308f42a02c102b2b (diff)
media: technisat-usb2: break out of loop at end of buffer
Ensure we do not access the buffer beyond the end if no 0xff byte is encountered. Reported-by: syzbot+eaaaf38a95427be88f4b@syzkaller.appspotmail.com Signed-off-by: Sean Young <sean@mess.org> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'lib/cmpdi2.c')
0 files changed, 0 insertions, 0 deletions