diff --git a/cpp/ql/src/Likely Bugs/JapaneseEra/ConstructorOrMethodWithExactEraDate.qhelp b/cpp/ql/src/Likely Bugs/JapaneseEra/ConstructorOrMethodWithExactEraDate.qhelp index 1335deaba43..92753c2804d 100644 --- a/cpp/ql/src/Likely Bugs/JapaneseEra/ConstructorOrMethodWithExactEraDate.qhelp +++ b/cpp/ql/src/Likely Bugs/JapaneseEra/ConstructorOrMethodWithExactEraDate.qhelp @@ -11,7 +11,7 @@
  • - The Japanese Calendar’s Y2K Moment. + The Japanese Calendar's Y2K Moment.
  • diff --git a/cpp/ql/src/Likely Bugs/JapaneseEra/StructWithExactEraDate.qhelp b/cpp/ql/src/Likely Bugs/JapaneseEra/StructWithExactEraDate.qhelp index 703a421ec0f..f009401099a 100644 --- a/cpp/ql/src/Likely Bugs/JapaneseEra/StructWithExactEraDate.qhelp +++ b/cpp/ql/src/Likely Bugs/JapaneseEra/StructWithExactEraDate.qhelp @@ -11,7 +11,7 @@
  • - The Japanese Calendar’s Y2K Moment. + The Japanese Calendar's Y2K Moment.
  • diff --git a/cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.qhelp b/cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.qhelp index c985456135c..091b5a227e2 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.qhelp +++ b/cpp/ql/src/Likely Bugs/Leap Year/Adding365daysPerYear.qhelp @@ -15,6 +15,8 @@ of days. Alternatively, use an established library routine that already contain - +
  • U.S. Naval Observatory Website - Introduction to Calendars
  • +
  • Wikipedia - Leap year bug
  • +
  • Microsoft Azure blog - Is your code ready for the leap year?
  • diff --git a/cpp/ql/src/Likely Bugs/Leap Year/LeapYearReferences.qhelp b/cpp/ql/src/Likely Bugs/Leap Year/LeapYearReferences.qhelp deleted file mode 100644 index c6c7c03a725..00000000000 --- a/cpp/ql/src/Likely Bugs/Leap Year/LeapYearReferences.qhelp +++ /dev/null @@ -1,10 +0,0 @@ - - - -
  • U.S. Naval Observatory Website - Introduction to Calendars
  • -
  • Wikipedia - Leap year bug
  • -
  • Microsoft Azure blog - Is your code ready for the leap year?
  • -
    -
    \ No newline at end of file diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.qhelp b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.qhelp index ad3544373ed..60072ead07d 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.qhelp +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.qhelp @@ -22,6 +22,8 @@ - +
  • U.S. Naval Observatory Website - Introduction to Calendars
  • +
  • Wikipedia - Leap year bug
  • +
  • Microsoft Azure blog - Is your code ready for the leap year?
  • diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.qhelp b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.qhelp index 3b25631eaf4..63493d6676a 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.qhelp +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.qhelp @@ -7,18 +7,19 @@

    When using a function that transforms a date structure, and the year on the input argument for the API has been manipulated, it is important to check for the return value of the function to make sure it succeeded.

    Otherwise, the function may have failed, and the output parameter may contain invalid data that can cause any number of problems on the affected system.

    -

    The following is a list of the functions that this query covers:

    +

    The following is a list of the functions that this query covers: -

  • FileTimeToSystemTime
  • -
  • SystemTimeToFileTime
  • -
  • SystemTimeToTzSpecificLocalTime
  • -
  • SystemTimeToTzSpecificLocalTimeEx
  • -
  • TzSpecificLocalTimeToSystemTime
  • -
  • TzSpecificLocalTimeToSystemTimeEx
  • -
  • RtlLocalTimeToSystemTime
  • -
  • RtlTimeToSecondsSince1970
  • -
  • _mkgmtime
  • - +
  • FileTimeToSystemTime
  • +
  • SystemTimeToFileTime
  • +
  • SystemTimeToTzSpecificLocalTime
  • +
  • SystemTimeToTzSpecificLocalTimeEx
  • +
  • TzSpecificLocalTimeToSystemTime
  • +
  • TzSpecificLocalTimeToSystemTimeEx
  • +
  • RtlLocalTimeToSystemTime
  • +
  • RtlTimeToSecondsSince1970
  • +
  • _mkgmtime
  • + +

    @@ -34,6 +35,8 @@ - +
  • U.S. Naval Observatory Website - Introduction to Calendars
  • +
  • Wikipedia - Leap year bug
  • +
  • Microsoft Azure blog - Is your code ready for the leap year?
  • diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.qhelp b/cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.qhelp index 21d65ad54c0..f1dc59d3731 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.qhelp +++ b/cpp/ql/src/Likely Bugs/Leap Year/UnsafeArrayForDaysOfYear.qhelp @@ -23,6 +23,8 @@ - +
  • U.S. Naval Observatory Website - Introduction to Calendars
  • +
  • Wikipedia - Leap year bug
  • +
  • Microsoft Azure blog - Is your code ready for the leap year?