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
69975619
Commit
69975619
authored
Jul 06, 2006
by
Dmitry Torokhov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Input: fm801-gp - fix use after free
Fixes Coverity #id 916 Signed-off-by:
Dmitry Torokhov
<
dtor@mail.ru
>
parent
c7948989
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/input/gameport/fm801-gp.c
drivers/input/gameport/fm801-gp.c
+2
-2
No files found.
drivers/input/gameport/fm801-gp.c
View file @
69975619
...
...
@@ -106,10 +106,10 @@ static int __devinit fm801_gp_probe(struct pci_dev *pci, const struct pci_device
gp
->
gameport
=
port
;
gp
->
res_port
=
request_region
(
port
->
io
,
0x10
,
"FM801 GP"
);
if
(
!
gp
->
res_port
)
{
kfree
(
gp
);
gameport_free_port
(
port
);
printk
(
KERN_DEBUG
"fm801-gp: unable to grab region 0x%x-0x%x
\n
"
,
port
->
io
,
port
->
io
+
0x0f
);
gameport_free_port
(
port
);
kfree
(
gp
);
return
-
EBUSY
;
}
...
...
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