summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
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 09:27:20 +0300
commit8c66d989635db3b512036c9388d57a8edec42e2c (patch)
treea8e87b409b8b311f173da0b269b1a59ebb470c22 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent9b3ceeb254db5151df1ec5f2cacaea7a3cf0518c (diff)
downloadedk2-8c66d989635db3b512036c9388d57a8edec42e2c.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/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions