[edk2-devel] [PATCH v 3 0/4] MdeModulePkg: Add check and ASSERT for variables

Zhang, Shenglei posted 4 patches 2 weeks ago
Failed in applying to current master (apply log)
.../Universal/EbcDxe/EbcDebugger/EdbCmdSymbol.c        |  2 +-
MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.c  |  2 +-
MdeModulePkg/Universal/EsrtDxe/EsrtImpl.c              | 10 ++++++++++
MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c  |  1 +
MdeModulePkg/Universal/SetupBrowserDxe/Expression.c    |  3 +++
5 files changed, 16 insertions(+), 2 deletions(-)

[edk2-devel] [PATCH v 3 0/4] MdeModulePkg: Add check and ASSERT for variables

Posted by Zhang, Shenglei 2 weeks ago
Add error handling and ASSERT to ensure the variables are
usable when called.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Shenglei Zhang (4):

v2: Update the checking method in 02/04.

v3: Add ASSERT instead of error handling in 04/04.

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: ASSERT GetBufferForValue(&Value)

 .../Universal/EbcDxe/EbcDebugger/EdbCmdSymbol.c        |  2 +-
 MdeModulePkg/Universal/EbcDxe/EbcDebugger/EdbSymbol.c  |  2 +-
 MdeModulePkg/Universal/EsrtDxe/EsrtImpl.c              | 10 ++++++++++
 MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c  |  1 +
 MdeModulePkg/Universal/SetupBrowserDxe/Expression.c    |  3 +++
 5 files changed, 16 insertions(+), 2 deletions(-)

-- 
2.18.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#49794): https://edk2.groups.io/g/devel/message/49794
Mute This Topic: https://groups.io/mt/40403786/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-