summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2025-10-23 21:13:38 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-05 14:34:09 +0300
commitaf24f366a42503b3b5ebbb0bcb9742a6785b6833 (patch)
tree9f89003a5640f015127ab8ecddabfa4e2b447ba4 /BaseTools/Source/Python/Workspace
parent72d0846c4c0ceab2dd228d82be94b88237e8dde3 (diff)
downloadedk2-af24f366a42503b3b5ebbb0bcb9742a6785b6833.tar.xz
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
0 files changed, 0 insertions, 0 deletions