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
67a0713c
Commit
67a0713c
authored
Dec 05, 2003
by
Jeff Garzik
Committed by
Linus Torvalds
Dec 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] fix use-after-free in libata
Fixes oops some were seeing on module unload. Caught by Jon Burgess.
parent
fcd7074e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
drivers/scsi/libata-core.c
drivers/scsi/libata-core.c
+1
-2
No files found.
drivers/scsi/libata-core.c
View file @
67a0713c
...
...
@@ -3224,8 +3224,6 @@ void ata_pci_remove_one (struct pci_dev *pdev)
scsi_host_put
(
ap
->
host
);
/* FIXME: check return val */
}
kfree
(
host_set
);
pci_release_regions
(
pdev
);
for
(
i
=
0
;
i
<
host_set
->
n_ports
;
i
++
)
{
...
...
@@ -3242,6 +3240,7 @@ void ata_pci_remove_one (struct pci_dev *pdev)
}
}
kfree
(
host_set
);
pci_disable_device
(
pdev
);
pci_set_drvdata
(
pdev
,
NULL
);
}
...
...
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