diff options
| author | Sherry Fan <sherryfan@microsoft.com> | 2025-07-31 21:10:30 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-08-11 21:15:25 +0300 |
| commit | e69d7653b98bade91855f2d0c4f55cb8dbcb16d5 (patch) | |
| tree | e3c9313ff31a4f2605e40826b7d1ad942f64677b /MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf | |
| parent | b58ce4c226768ced972bd49886e20c5ae6dfd8f0 (diff) | |
| download | edk2-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/BaseMemoryAllocationLibNull.inf')
0 files changed, 0 insertions, 0 deletions
