summaryrefslogtreecommitdiffstats
path: root/drivers/virt
diff options
context:
space:
mode:
authorTomas Bortoli <tomasbortoli@gmail.com>2019-07-31 12:19:05 -0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-08-21 18:39:55 -0300
commita10feaf8c464c3f9cfdd3a8a7ce17e1c0d498da1 (patch)
treea92b5fb5867a07f0e21477b536be2e0adf442d13 /drivers/virt
parent6f005abb00848556a6bff1d3bc8a76f7dc2f9c24 (diff)
downloadlinux-a10feaf8c464c3f9cfdd3a8a7ce17e1c0d498da1.tar.bz2
media: ttusb-dec: Fix info-leak in ttusb_dec_send_command()
The function at issue does not always initialize each byte allocated for 'b' and can therefore leak uninitialized memory to a USB device in the call to usb_bulk_msg() Use kzalloc() instead of kmalloc() Signed-off-by: Tomas Bortoli <tomasbortoli@gmail.com> Reported-by: syzbot+0522702e9d67142379f1@syzkaller.appspotmail.com Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions