diff --git a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll index 77c23d97b02..6916818cdc5 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll +++ b/cpp/ql/src/Likely Bugs/Leap Year/LeapYear.qll @@ -310,7 +310,9 @@ module PossibleYearArithmeticOperationCheckFlow = TaintTracking::Global; /** - * This list of APIs should check for the return value to detect problems during the conversion. + * Time conversion functions where either + * 1) an incorrect leap year date would result in an error that can be checked from the return value or + * 2) an incorrect leap year date is auto corrected (no checks required) */ class TimeConversionFunction extends Function { boolean autoLeapYearCorrecting;