diff options
author | Mike Isely <[email protected]> | 2008-04-07 02:22:43 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2008-04-24 14:09:48 -0300 |
commit | 97f26ff6049a7fff5460cebe392ad1d699dc434c (patch) | |
tree | 8baf83788707e1488918ba00c7430b6f7b0a9d45 /lib/debugobjects.c | |
parent | e5be15c63804e05b5a94197524023702a259e308 (diff) |
V4L/DVB (7712): pvrusb2: Close connect/disconnect race
If a disconnect happens before initialization is completed, the
pvrusb2 driver can accidentally touch dangling pointers. The whole
initialization function must be protected by the big_lock, and once
inside that lock, the initialization function should abort if it is
discovered that a disconnect has already taken place.
Signed-off-by: Mike Isely <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions