diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-11-22 12:26:26 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-11-22 12:26:26 +0100 |
commit | 53de899b707730eb70b95b5a90cd1519a795c88a (patch) | |
tree | 4827686ddc97fdfeb492d7e54afd0131319033e2 /linux/drivers/media/video/gspca/jpeg.h | |
parent | 0649e35124be51fb4e39b6c4f4235aa299422174 (diff) | |
download | mediapointer-dvb-s2-53de899b707730eb70b95b5a90cd1519a795c88a.tar.gz mediapointer-dvb-s2-53de899b707730eb70b95b5a90cd1519a795c88a.tar.bz2 |
gspca: Fix an access to freed memory at disconnect time.
From: leandro Costantino <lcostantino@gmail.com>
On disconnection (USB or rmmod subdriver), the device is freed
by video_unregister_device(). Setting the 'present' and 'streaming'
flags must be done before the call to this function.
Priority: high
Signed-off-by: leandro Costantino <lcostantino@gmail.com>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/jpeg.h')
0 files changed, 0 insertions, 0 deletions