summaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorKefeng Wang2019-06-05 15:08:20 +0200
committerMauro Carvalho Chehab2019-06-05 21:57:46 +0200
commit6e2980cc68d0dfac1c734fae887754c1cb9904a0 (patch)
tree2ba41dfd5ac327fb0c9aee6398b2db5cb3c988eb /Documentation/media
parentmedia: platform: ao-cec-g12a: remove spin_lock_irqsave() locking in meson_ao_... (diff)
downloadkernel-qcow2-linux-6e2980cc68d0dfac1c734fae887754c1cb9904a0.tar.gz
kernel-qcow2-linux-6e2980cc68d0dfac1c734fae887754c1cb9904a0.tar.xz
kernel-qcow2-linux-6e2980cc68d0dfac1c734fae887754c1cb9904a0.zip
media: pvrusb2: fix null-ptr-deref in class_unregister()
The class_ptr will be NULL if pvr2_sysfs_class_create() fails in pvr_init(), when call pvr2_sysfs_class_destroy(), it will lead to null-ptr-deref, fix it. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/media')
0 files changed, 0 insertions, 0 deletions