edk2/MdeModulePkg/Library/UefiHiiLib
Aaron Pop 816b35fe52 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>
2026-08-11 01:22:08 +00:00
..
HiiLanguage.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HiiLib.c MdeModulePkg/UefiHiiLib: Fix regression from 12828 2026-08-11 01:22:08 +00:00
HiiString.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
InternalHiiLib.h MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
UefiHiiLib.inf MdeModulePkg: Fix Comparison overflow 2026-08-05 06:27:20 +00:00
UefiHiiLib.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00