Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
eb598e09
Commit
eb598e09
authored
Aug 22, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] V4L: fix use after free bug in v4l core.
parent
2daeb268
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
drivers/media/video/videodev.c
drivers/media/video/videodev.c
+1
-1
No files found.
drivers/media/video/videodev.c
View file @
eb598e09
...
@@ -349,9 +349,9 @@ void video_unregister_device(struct video_device *vfd)
...
@@ -349,9 +349,9 @@ void video_unregister_device(struct video_device *vfd)
if
(
video_device
[
vfd
->
minor
]
!=
vfd
)
if
(
video_device
[
vfd
->
minor
]
!=
vfd
)
panic
(
"videodev: bad unregister"
);
panic
(
"videodev: bad unregister"
);
class_device_unregister
(
&
vfd
->
class_dev
);
devfs_remove
(
vfd
->
devfs_name
);
devfs_remove
(
vfd
->
devfs_name
);
video_device
[
vfd
->
minor
]
=
NULL
;
video_device
[
vfd
->
minor
]
=
NULL
;
class_device_unregister
(
&
vfd
->
class_dev
);
up
(
&
videodev_lock
);
up
(
&
videodev_lock
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment