summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorAaron Pop <aaronpop@microsoft.com>2025-10-22 21:33:02 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-08-05 05:13:24 +0300
commitbf0dc7d78701c93a2edeeadcb0daca58f4af91a6 (patch)
tree64da9a9e19fedb2d27f8ca51e7620dd8a501dca7 /BaseTools/Source/Python/Workspace/BuildClassObject.py
parentfa41c179db1f9fc21eb425f44b85a16262c806ca (diff)
downloadedk2-bf0dc7d78701c93a2edeeadcb0daca58f4af91a6.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/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions