summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2017-09-26 17:10:20 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 20:09:41 +0100
commitca48c81cff0e5b56e525414b75990bcb64b7cbb9 (patch)
tree605b67a4f2728f9bec1b3f5177d9c6159dded550 /include/linux/timerqueue.h
parent3196c1515ea683bb6f95673feb2998f605ab581d (diff)
media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
commit 3d932ee27e852e4904647f15b64dedca51187ad7 upstream. Warm start has no check as whether a genuine device has connected and proceeds to next execution path. Check device should read 0x47 at offset of 2 on USB descriptor read and it is the amount requested of 6 bytes. Fix for kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access as Reported-by: Andrey Konovalov <andreyknvl@google.com> Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Cc: Ben Hutchings <ben.hutchings@codethink.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions