summaryrefslogtreecommitdiffstats
path: root/Documentation/usb
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2017-09-26 17:10:20 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 07:51:39 -0500
commit3d932ee27e852e4904647f15b64dedca51187ad7 (patch)
tree2d799035b8bdcef617c018872129f03ddfe23f46 /Documentation/usb
parent1e6f57b2b4ef75fef59ee8771c95bbaf2b086af7 (diff)
downloadop-kernel-dev-3d932ee27e852e4904647f15b64dedca51187ad7.zip
op-kernel-dev-3d932ee27e852e4904647f15b64dedca51187ad7.tar.gz
media: dvb-usb-v2: lmedm04: Improve logic checking of warm start
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>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud