diff options
author | Ken Lautner <kenlautner3@gmail.com> | 2024-08-27 13:21:47 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-09-05 06:52:09 +0000 |
commit | f0dc9e15048818e01c0556e6c461271aa9000d05 (patch) | |
tree | 26886c116fe8c309d31643569fbd61c7eba178d6 /BaseTools/Source/C/VfrCompile/Pccts/h/dlgauto.h | |
parent | 03bc4252fb68f0dcba72a19e1b2a861a5d6c927e (diff) | |
download | edk2-master.tar.gz edk2-master.tar.bz2 edk2-master.zip |
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 <kenlautner3@gmail.com>
Diffstat (limited to 'BaseTools/Source/C/VfrCompile/Pccts/h/dlgauto.h')
0 files changed, 0 insertions, 0 deletions