diff options
author | Andy Walls <awalls@radix.net> | 2008-05-12 15:01:27 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-05-14 02:56:45 -0300 |
commit | 07c87a833e9ef92280ed24ab85cd4eb49cbca9c0 (patch) | |
tree | 58ba6654998600742c352f12ed5ed1967e1f598e /drivers/media/video/au0828/au0828-dvb.c | |
parent | cba627a51a26eaed3526c423f5fd0410dd721ae2 (diff) | |
download | linux-next-07c87a833e9ef92280ed24ab85cd4eb49cbca9c0.tar.gz |
V4L/DVB (7891): cx18/ivtv: fix open() kernel oops
Upon error conditions in cx18/ivtv_probe(), the code at the 'err:' label
leaves a NULL entry in cx18/ivtv_cards[]. This can cause a NULL pointer
de-reference in cx18/ivtv_v4l2_open() which is fixed by this patch.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/au0828/au0828-dvb.c')
0 files changed, 0 insertions, 0 deletions