Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: dee7ea0bb14e42d0e1f1d23079993a0c66b7c49f
https://github.com/tianocore/edk2/commit/dee7ea0bb14e42d0e1f1d23079993a0c66b7c49f
Author: Aaron Pop <[email protected]>
Date: 2025-11-22 (Sat, 22 Nov 2025)
Changed paths:
M MdeModulePkg/Universal/SetupBrowserDxe/Expression.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: 8c92e6ee806ff7e7e8f561cc2540c755ed3a3495
https://github.com/tianocore/edk2/commit/8c92e6ee806ff7e7e8f561cc2540c755ed3a3495
Author: Aaron Pop <[email protected]>
Date: 2025-11-22 (Sat, 22 Nov 2025)
Changed paths:
M MdeModulePkg/Universal/SetupBrowserDxe/Expression.c
M MdeModulePkg/Universal/SetupBrowserDxe/IfrParse.c
M MdeModulePkg/Universal/SetupBrowserDxe/Presentation.c
M MdeModulePkg/Universal/SetupBrowserDxe/Setup.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/5214f931c9a9...8c92e6ee806f
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