Skip to content

Commit 9446a6b

Browse files
committed
Updating query alert message.
1 parent 2e7dba2 commit 9446a6b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,4 +407,5 @@ where
407407
OperationToYearAssignmentFlow::flowPath(src, sink) and
408408
not isYearModifiedWithCheck(sink.getNode().asExpr().(YearFieldAssignment).getYearFieldAccess()) and
409409
not isControlledByMonthEqualityCheckNonFebruary(sink.getNode().asExpr())
410-
select sink, src, sink, "TEST"
410+
select sink, src, sink,
411+
"Year field has been modified, but no appropriate check for LeapYear was found."

0 commit comments

Comments
 (0)