diff options
author | Pan Bian <bianpan2016@163.com> | 2017-04-23 16:06:36 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-06 13:30:11 +0300 |
commit | 35378ce143071c2a6bad4b59a000e9b9f8f6ea67 (patch) | |
tree | f7d10ed01d7f636914f7446375796c06976821f8 /drivers/media/pci/cx18 | |
parent | b9150e8131914df75d396a5730a599d358f016d8 (diff) | |
download | linux-35378ce143071c2a6bad4b59a000e9b9f8f6ea67.tar.xz |
[media] cx25840: fix unchecked return values
In functions cx25840_initialize(), cx231xx_initialize(), and
cx23885_initialize(), the return value of create_singlethread_workqueue()
is used without validation. This may result in NULL dereference and cause
kernel crash. This patch fixes it.
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/cx18')
0 files changed, 0 insertions, 0 deletions