diff options
author | Pan Bian <bianpan2016@163.com> | 2017-04-23 11:26:45 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-06 12:28:36 +0200 |
commit | 13174c388a76005c1abe454e47a37cd57edd8c8d (patch) | |
tree | bc00553242f1e97190bc4627c93596e45f2152a9 /drivers/media/pci/cobalt | |
parent | [media] mxl111sf: Fix driver to use heap allocate buffers for USB messages (diff) | |
download | linux-13174c388a76005c1abe454e47a37cd57edd8c8d.tar.xz linux-13174c388a76005c1abe454e47a37cd57edd8c8d.zip |
[media] m5602_s5k83a: check return value of kthread_create
Function kthread_create() returns an ERR_PTR on error. However, in
function s5k83a_start(), its return value is used without validation.
This may result in a bad memory access bug. This patch fixes the bug.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/cobalt')
0 files changed, 0 insertions, 0 deletions