Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 734406184fa2a05f484ffa4d00bd4fdcdb0b5b22
      
https://github.com/tianocore/edk2/commit/734406184fa2a05f484ffa4d00bd4fdcdb0b5b22
  Author: Hongbin1 Zhang <[email protected]>
  Date:   2024-11-05 (Tue, 05 Nov 2024)

  Changed paths:
    M StandaloneMmPkg/Drivers/StandaloneMmIplPei/MmFoundationHob.c

  Log Message:
  -----------
  StandaloneMmPkg/MmIpl: Optimize hob pointer check flow

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 <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Wei6 Xu <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Supreeth Venkatesh <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to