Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: af24f366a42503b3b5ebbb0bcb9742a6785b6833
https://github.com/tianocore/edk2/commit/af24f366a42503b3b5ebbb0bcb9742a6785b6833
Author: Aaron Pop <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
M
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/ConsoleOption.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.c
Log Message:
-----------
MdeModulePkg: Fix comparison with wider widths
https://codeql.github.com/codeql-query-help/cpp/cpp-comparison-with-wider-type
If the narrow type (smaller range) is compared against a wide type
(larger range), the narrow value may overflow before reaching the wide
value. This can cause unexpected behavior, such as:
Infinite loops (loop condition never becomes false).
Incorrect logic (comparison results are misleading).
Signed-off-by: Aaron Pop <[email protected]>
Commit: 1cc0af9d6de69b803189c3f86c1f80fe86caf8a6
https://github.com/tianocore/edk2/commit/1cc0af9d6de69b803189c3f86c1f80fe86caf8a6
Author: Aaron Pop <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenance.c
M
MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerCustomizedUiSupport.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootOption.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/ConsoleOption.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.c
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/Variable.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]>
Commit: d1c5d47014b10ab9d59c785410dbb8b3f990bc98
https://github.com/tianocore/edk2/commit/d1c5d47014b10ab9d59c785410dbb8b3f990bc98
Author: Aaron Pop <[email protected]>
Date: 2026-08-05 (Wed, 05 Aug 2026)
Changed paths:
M MdeModulePkg/Library/BootMaintenanceManagerUiLib/UpdatePage.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]>
Compare: https://github.com/tianocore/edk2/compare/72d0846c4c0c...d1c5d47014b1
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