projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb78e64
)
[USBSTOR]
author
Thomas Faber
<thomas.faber@reactos.org>
Fri, 14 Apr 2017 10:24:41 +0000
(10:24 +0000)
committer
Thomas Faber
<thomas.faber@reactos.org>
Fri, 14 Apr 2017 10:24:41 +0000
(10:24 +0000)
- Avoid MDL leak in USBSTOR_SendIrp. Patch by Lesan Ilie.
CORE-13061 #resolve
svn path=/trunk/; revision=74303
reactos/drivers/usb/usbstor/pdo.c
patch
|
blob
|
history
diff --git
a/reactos/drivers/usb/usbstor/pdo.c
b/reactos/drivers/usb/usbstor/pdo.c
index
d684ef3
..
6ce5d8f
100644
(file)
--- a/
reactos/drivers/usb/usbstor/pdo.c
+++ b/
reactos/drivers/usb/usbstor/pdo.c
@@
-1183,6
+1183,7
@@
USBSTOR_SendIrp(
// free resources
//
ExFreePoolWithTag(Request, USB_STOR_TAG);
+ IoFreeMdl(Irp->MdlAddress);
IoFreeIrp(Irp);
return Status;
}