Merge pull request #22460 from MathiasVP/add-crazy-fp · github/codeql@45c7a51 · GitHub
Skip to content

Commit 45c7a51

Browse files
authored
Merge pull request #22460 from MathiasVP/add-crazy-fp
C++: Fix a crazy FP in `cpp/leap-year/unsafe-array-for-days-of-the-year`
2 parents bc3447f + 416b3ee commit 45c7a51

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

‎cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.ql‎

Lines changed: 1 addition & 0 deletions
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The `cpp/leap-year/unsafe-array-for-days-of-the-year` query ("Unsafe array for days of the year") no longer reports an alert on the `__PRETTY_FUNCTION__` variable (and related variables) when the enclosing function has a signature that is exactly 364 characters.

‎cpp/ql/test/query-tests/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear/test.cpp‎

Lines changed: 9 additions & 0 deletions

0 commit comments

Comments
 (0)