You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cpp/ql/src/experimental/Security/CWE/CWE-14/CompilerRemovalOfCodeToClearBuffers.qhelp
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<overview>
6
6
<p>Compiler optimization will exclude the cleaning of private information.
7
7
Using the <code>memset</code> function to clear private data in a variable that has no subsequent use is potentially dangerous, since the compiler can remove the call.
8
-
For some compilers, optimization is also possible when using calls to free memory after the <code>memset</codee> function.</p>
8
+
For some compilers, optimization is also possible when using calls to free memory after the <code>memset</code> function.</p>
9
9
10
10
<p>It is possible to miss detection of vulnerabilities if used to clear fields of structures or parts of a buffer.</p>
0 commit comments