diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-09-03 17:12:25 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-09-03 18:37:53 -0300 |
commit | 8da9bae3292ea8aee803e7cda295877c361f0694 (patch) | |
tree | b50317e39edf3f0d92e704bdfd87b0ea58f78fb1 /drivers/net/gianfar_sysfs.c | |
parent | 9a0c04a1ee3b4df6a30ae6975e13c558908df400 (diff) |
V4L/DVB (8842): vivi_release(): fix use-after-free
video_device_release() does kfree(), which made the following printk()
doing a use-after-free.
printk() first and release then.
Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/net/gianfar_sysfs.c')
0 files changed, 0 insertions, 0 deletions