The variables and return value might be NULL. So add check for them before they are used.
Cc: Jian J Wang <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Dandan Bi <[email protected]> Cc: Eric Dong <[email protected]> Cc: Hao A Wu <[email protected]> Cc: Liming Gao <[email protected]> Shenglei Zhang (4): MdeModulePkg/EbcDebugger: Add check for Entry and RetEntry MdeModulePkg/HiiDatabaseDxe: Add check for StringPtr MdeModulePkg/EsrtDxe: Add check for EsrtRepository MdeModulePkg/SetupBrowserDxe: Add check for GetBufferForValue() .../Universal/EbcDxe/EbcDebugger/EdbCmdSymbol.c | 2 +- MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.c | 2 +- MdeModulePkg/Universal/EsrtDxe/EsrtImpl.c | 10 ++++++++++ MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c | 4 ++++ MdeModulePkg/Universal/SetupBrowserDxe/Expression.c | 5 +++++ 5 files changed, 21 insertions(+), 2 deletions(-) -- 2.18.0.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#49144): https://edk2.groups.io/g/devel/message/49144 Mute This Topic: https://groups.io/mt/34668862/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
