edk2/MdeModulePkg/Bus/Ufs
Aaron Pop bf0dc7d787 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 <aaronpop@microsoft.com>
2026-08-05 02:13:24 +00:00
..
UfsBlockIoPei MdeModulePkg: Fix comparison with wider widths 2026-08-05 02:13:24 +00:00
UfsPassThruDxe MdeModulePkg: Fix comparison with wider widths 2026-08-05 02:13:24 +00:00