Skip to content

Commit 717522f

Browse files
committed
CPP: Fix qhelp more.
1 parent 413788a commit 717522f

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

cpp/ql/src/Likely Bugs/Leap Year/UncheckedReturnValueForTimeFunctions.qhelp

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,18 @@
77

88
<p>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.</p>
99
<p>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.</p>
10-
<p>The following is a list of the functions that this query covers:
11-
<list>
12-
<li><code>FileTimeToSystemTime</code></li>
13-
<li><code>SystemTimeToFileTime</code></li>
14-
<li><code>SystemTimeToTzSpecificLocalTime</code></li>
15-
<li><code>SystemTimeToTzSpecificLocalTimeEx</code></li>
16-
<li><code>TzSpecificLocalTimeToSystemTime</code></li>
17-
<li><code>TzSpecificLocalTimeToSystemTimeEx</code></li>
18-
<li><code>RtlLocalTimeToSystemTime</code></li>
19-
<li><code>RtlTimeToSecondsSince1970</code></li>
20-
<li><code>_mkgmtime</code></li>
21-
</list>
22-
</p>
10+
<p>The following is a list of the functions that this query covers:</p>
11+
<ul>
12+
<li><code>FileTimeToSystemTime</code></li>
13+
<li><code>SystemTimeToFileTime</code></li>
14+
<li><code>SystemTimeToTzSpecificLocalTime</code></li>
15+
<li><code>SystemTimeToTzSpecificLocalTimeEx</code></li>
16+
<li><code>TzSpecificLocalTimeToSystemTime</code></li>
17+
<li><code>TzSpecificLocalTimeToSystemTimeEx</code></li>
18+
<li><code>RtlLocalTimeToSystemTime</code></li>
19+
<li><code>RtlTimeToSecondsSince1970</code></li>
20+
<li><code>_mkgmtime</code></li>
21+
</ul>
2322

2423
</overview>
2524
<recommendation>

0 commit comments

Comments
 (0)