Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 816b35fe52388564498c5885ced765ea2d5394a5
https://github.com/tianocore/edk2/commit/816b35fe52388564498c5885ced765ea2d5394a5
Author: Aaron Pop <[email protected]>
Date: 2026-08-11 (Tue, 11 Aug 2026)
Changed paths:
M MdeModulePkg/Library/UefiHiiLib/HiiLib.c
Log Message:
-----------
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 <[email protected]>
Signed-off-by: Aaron Pop <[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