summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2026-08-10 22:08:52 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-11 04:22:08 +0300
commit816b35fe52388564498c5885ced765ea2d5394a5 (patch)
treefbe264290b060836aea9789bc4780f91d86ca9fe /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentc5aa7e7d94c0e6b3c0202e15dbf7a5c92dd6a01d (diff)
downloadedk2-816b35fe52388564498c5885ced765ea2d5394a5.tar.xz
MdeModulePkg/UefiHiiLib: Fix regression from 12828
12828 introduced an ASSERT in HiiGetBrowserData() that fires when InternalHiiBrowserCallback() returns NULL. This is a valid return value indicating the browser has no data for the requested variable, and callers already handle this by checking the FALSE return value. The ASSERT is incorrect because it triggers on a non-error path, causing a crash when the browser callback legitimately returns no data. Remove the unnecessary ASSERT while keeping the existing FALSE return so callers continue to handle this case gracefully. Cc: Qihang Gao <gaoqihang@loongson.cn> Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions