diff options
| author | Kefeng Wang <[email protected]> | 2019-06-05 09:08:20 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-06-05 15:57:46 -0400 |
| commit | 6e2980cc68d0dfac1c734fae887754c1cb9904a0 (patch) | |
| tree | 2ba41dfd5ac327fb0c9aee6398b2db5cb3c988eb /tools/perf/scripts/python/bin | |
| parent | 7aac98494d1d932cde053861ce0c12ca5ab3f762 (diff) | |
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 <[email protected]>
Signed-off-by: Kefeng Wang <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions