mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2025-10-16 12:45:36 +00:00
![]() It would be possible to remove the UAF without local variables, by calling
SataPrivateData->PciIo->Attributes() before releasing SataPrivateData.
However, by keeping the location of the call (for which temporary
variables are necessary), we continue to match the error path logic in
SataControllerStart(), which is always recommended.
Reported-by: wang xiaofeng <winggundum82@163.com>
Fixes:
|
||
---|---|---|
.. | ||
ComponentName.c | ||
SataController.c | ||
SataController.h | ||
SataControllerDxe.inf |