summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/BaseMemoryAllocationLibNull
diff options
context:
space:
mode:
authorSherry Fan <sherryfan@microsoft.com>2025-07-31 21:10:30 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-08-11 21:15:25 +0300
commite69d7653b98bade91855f2d0c4f55cb8dbcb16d5 (patch)
treee3c9313ff31a4f2605e40826b7d1ad942f64677b /MdeModulePkg/Library/BaseMemoryAllocationLibNull
parentb58ce4c226768ced972bd49886e20c5ae6dfd8f0 (diff)
downloadedk2-e69d7653b98bade91855f2d0c4f55cb8dbcb16d5.tar.xz
MdeModulePkg: XhciDxe: Fix USB reset issue: use after free
`XhcFreeUrb` attempts to unmap `Urb->DataMap` after `FreePool(Urb->Data)` has already been called in some cases, causing a use after free. Change the ordering so `Data` is freed after `Unmap`and only freed when appropriate. Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/BaseMemoryAllocationLibNull')
0 files changed, 0 insertions, 0 deletions