Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: f0dc9e15048818e01c0556e6c461271aa9000d05
      
https://github.com/tianocore/edk2/commit/f0dc9e15048818e01c0556e6c461271aa9000d05
  Author: Ken Lautner <kenlautn...@gmail.com>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    M MdeModulePkg/Library/UefiBootManagerLib/BmBoot.c

  Log Message:
  -----------
  MdeModulePkg: UefiBootManagerLib: Update assert condition

In BmFindBootOptionInVariable() we prevent passing a NULL pointer to
EfiBootManagerFindLoadOption().  However, it can accept a NULL pointer as
the second argument as long as count is zero.  This change updates the
assert condtion to only assert if the pointer is NULL and the count is
non-zero.

Signed-off-by: Kenneth Lautner <kenlautn...@gmail.com>



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


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to