Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 699382e3429a4ecd3ccd58d333f413e14bb10edc
      
https://github.com/tianocore/edk2/commit/699382e3429a4ecd3ccd58d333f413e14bb10edc
  Author: Aaron Pop <[email protected]>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M MdeModulePkg/Application/BootManagerMenuApp/BootManagerMenu.c
    M MdeModulePkg/Application/CapsuleApp/CapsuleDump.c

  Log Message:
  -----------
  MdeModulePkg: Fix unchecked return status

https://github.com/github/codeql/blob/codeql-cli-2.7.3/csharp/ql/src/API%20Abuse/UncheckedReturnValue.qhelp

When a function has a return status, it should
be checked to verify the function completed successfully.

Failing to check the return status can result in null pointer
dereferences or use of uninitialized variables.

Signed-off-by: Aaron Pop <[email protected]>


  Commit: dfd0edeb4e71f01f83cf9aa53285db4f14e5487d
      
https://github.com/tianocore/edk2/commit/dfd0edeb4e71f01f83cf9aa53285db4f14e5487d
  Author: Aaron Pop <[email protected]>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M MdeModulePkg/Application/CapsuleApp/CapsuleOnDisk.c
    M MdeModulePkg/Application/SmiHandlerProfileInfo/SmiHandlerProfileInfo.c
    M MdeModulePkg/Application/UiApp/FrontPage.c
    M MdeModulePkg/Application/UiApp/FrontPageCustomizedUiSupport.c
    M MdeModulePkg/Application/VariableInfo/VariableInfo.c

  Log Message:
  -----------
  MdeModulePkg: Fix missing NULL tests

https://github.com/github/codeql/blob/codeql-cli-2.7.3/cpp/ql/src/Critical/MissingNullTest.qhelp

For items which allocate memory, or get a pointer from another
structure, it is important to validate that the pointers
are not null before they are dereferenced.

Signed-off-by: Aaron Pop <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/0f0515f71ba3...dfd0edeb4e71

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

Reply via email to