diff options
author | Hongbin1 Zhang <hongbin1.zhang@intel.com> | 2024-09-26 14:08:53 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-05 01:04:30 +0000 |
commit | 734406184fa2a05f484ffa4d00bd4fdcdb0b5b22 (patch) | |
tree | 488a2c509c191d27f3958c31a275d74ccf32c45c /EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf | |
parent | 6f17fe30bffd0f6f72d61737e1c7c89e8138fdc0 (diff) | |
download | edk2-master.zip edk2-master.tar.gz edk2-master.tar.bz2 |
Clang compile will optimize undefined behavior (UB)
like a pointer with NULL + size, so it is better to
check the pointer before using it.
Signed-off-by: Hongbin1 Zhang <hongbin1.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Cc: Wei6 Xu <wei6.xu@intel.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Diffstat (limited to 'EmbeddedPkg/Library/DxeHobPeCoffLib/DxeHobPeCoffLib.inf')
0 files changed, 0 insertions, 0 deletions