diff options
author | Pan Bian <bianpan2016@163.com> | 2017-04-23 15:06:36 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-06 12:30:11 +0200 |
commit | 35378ce143071c2a6bad4b59a000e9b9f8f6ea67 (patch) | |
tree | f7d10ed01d7f636914f7446375796c06976821f8 /drivers/media/pci/cx18/cx18-dvb.c | |
parent | [media] cobalt: fix unchecked return values (diff) | |
download | linux-35378ce143071c2a6bad4b59a000e9b9f8f6ea67.tar.xz linux-35378ce143071c2a6bad4b59a000e9b9f8f6ea67.zip |
[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/cx18-dvb.c')
0 files changed, 0 insertions, 0 deletions