Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Ruiyu Ni 5fc3889bb3 MdeModulePkg/DxeCore: Avoid accessing non-owned memory
The patch fixes two kinds of bugs in DxeCore that accesses memory
which might be freed or owned by other modules.
The two bugs don't cause functionality issue.

1. CoreValidateHandle() checks whether the handle is valid by
   validating its signature. The proper way is to check whether
   the handle is in the handle database.
2. CoreDisconnectControllersUsingProtocolInterface() and
   CoreOpenProtocol() de-reference Link pointer which is
   already freed. The proper way is to not de-reference the pointer.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
2017-07-18 16:49:15 +08:00
AppPkg
ArmPkg ArmPkg: implement ResetSystemLib using PSCI 0.2 calls 2017-07-03 16:53:33 +01:00
ArmPlatformPkg ArmPlatformPkg: Support different PL011 reg offset 2017-07-17 17:27:27 +01:00
ArmVirtPkg ArmVirtPkg: remove status code support 2017-07-05 16:30:26 +01:00
BaseTools BaseTools/tools_def AARCH64: avoid SIMD registers in XIP code 2017-07-14 17:28:49 +01:00
BeagleBoardPkg BeagleBoardPkg: switch to use MdeModulePkg ResetSystemLib 2017-07-03 22:30:22 +01:00
Conf
CorebootModulePkg
CorebootPayloadPkg
CryptoPkg CryptoPkg/OpensslLib AARCH64: clear XIP CC flags 2017-07-15 13:36:58 +01:00
DuetPkg
EdkCompatibilityPkg
EdkShellBinPkg
EdkShellPkg
EmbeddedPkg EmbeddedPkg/DwEmmc: Adjust FIFO threshold 2017-07-17 17:54:46 +01:00
EmulatorPkg EmulatorPkg/Unix/Host: Add GCC5 CC/DLINK commands (for GCC >= 5) 2017-07-07 15:38:13 -07:00
FatBinPkg
FatPkg
IntelFrameworkModulePkg
IntelFrameworkPkg
IntelFsp2Pkg
IntelFsp2WrapperPkg
IntelFspPkg
IntelFspWrapperPkg
IntelSiliconPkg
MdeModulePkg MdeModulePkg/DxeCore: Avoid accessing non-owned memory 2017-07-18 16:49:15 +08:00
MdePkg MdePkg DxeHstiLib: Fix memory leak issue 2017-07-18 10:35:36 +08:00
NetworkPkg
Nt32Pkg
Omap35xxPkg
OptionRomPkg
OvmfPkg OvmfPkg/QemuFwCfgLib: Suppress GCC49 IA32 build failure 2017-07-12 00:16:41 +02:00
PcAtChipsetPkg
PerformancePkg
QuarkPlatformPkg
QuarkSocPkg
SecurityPkg
ShellBinPkg
ShellPkg
SignedCapsulePkg
SourceLevelDebugPkg
StdLib
StdLibPrivateInternalFiles
UefiCpuPkg UefiCpuPkg CpuCommonFeaturesLib: Fix smx/vmx enable logic error. 2017-07-12 08:51:08 +08:00
UnixPkg
Vlv2DeviceRefCodePkg
Vlv2TbltDevicePkg
.gitignore
BuildNotes2.txt
Edk2Setup.bat
Maintainers.txt
edksetup.bat BaseTools: suppress usage instructions with rebuild options 2017-07-04 10:16:13 +08:00
edksetup.sh