summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf
diff options
context:
space:
mode:
authorHunter Chang <hunter.chang@intel.com>2025-07-25 08:31:35 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-08-07 09:40:28 +0300
commit504a80c1514d824dba8a883373912b0f78e0f0ee (patch)
tree290cd30224fb05be8b783699dd9ad0a1d3ea72b4 /MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf
parentbd785cedc370c96b736e8a3db9526aca436cb7de (diff)
downloadedk2-504a80c1514d824dba8a883373912b0f78e0f0ee.tar.xz
SecurityPkg/Tcg/OpalPasswordDxe: Fix logic for RemoveDevice()
First, If there are multiple devices in DeviceList and are going to remove the first device in the DeviceList, the DeviceList will be cleared up with setting to NULL. This is not the expected behavior, as it should keep the rest of the devices in the DeviceList. DeviceList should point to the next device, Dev->Next. Second, there is a potential infinite while loop if TmpDev->Next not equal to Dev. TmpDev should point to next device. Signed-off-by: Hunter Chang <hunter.chang@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/BaseMemoryAllocationLibNull/BaseMemoryAllocationLibNull.inf')
0 files changed, 0 insertions, 0 deletions