Actions
Bug #239
closedmapgenerator4() codeQL warning about bad oddness check
Start date:
02/08/2024
Due date:
% Done:
0%
Estimated time:
Description
mapgenerator4() has a oddness check of form "x % 1 == 1", which would not work for negative numbers. The number is never negative in this code, but let's rework it to silence CodeQL warning anyway.
Files
Actions
#1
Updated by Marko Lindqvist 11 months ago
- File 0040-mapgenerator4-Fix-CodeQL-bad-oddness-check-warning.patch 0040-mapgenerator4-Fix-CodeQL-bad-oddness-check-warning.patch added
- File 0027-mapgenerator4-Fix-CodeQL-bad-oddness-check-warning.patch 0027-mapgenerator4-Fix-CodeQL-bad-oddness-check-warning.patch added
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
Updated by Marko Lindqvist 10 months ago
- Status changed from In Review to Closed
Actions