mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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> |
||
|---|---|---|
| .. | ||
| BmLib.c | ||
| BootMaintenance.c | ||
| BootMaintenanceManager.h | ||
| BootMaintenanceManager.vfr | ||
| BootMaintenanceManagerCustomizedUi.c | ||
| BootMaintenanceManagerCustomizedUi.h | ||
| BootMaintenanceManagerCustomizedUiSupport.c | ||
| BootMaintenanceManagerCustomizedUiSupport.h | ||
| BootMaintenanceManagerStrings.uni | ||
| BootMaintenanceManagerUiLib.inf | ||
| BootMaintenanceManagerUiLib.uni | ||
| BootOption.c | ||
| ConsoleOption.c | ||
| Data.c | ||
| FormGuid.h | ||
| UpdatePage.c | ||
| Variable.c | ||