Skip to content

Commit 0f72567

Browse files
Update cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.qhelp
Co-authored-by: Shati Patel <42641846+shati-patel@users.noreply.github.com>
1 parent 42d2a67 commit 0f72567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Security/CWE/CWE-014/MemsetMayBeDeleted.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ contains sensitive data that could somehow be retrieved by an attacker.</p>
1313
<p>Use alternative platform-supplied functions that will not get optimized away. Examples of such
1414
functions include <code>memset_s</code>, <code>SecureZeroMemory</code>, and <code>bzero_explicit</code>.
1515
Alternatively, passing the <code>-fno-builtin-memset</code> option to the GCC/Clang compiler usually
16-
also prevents the optimization. Finally, the public-domain <code>secure_memzero</code> function (see
17-
below) can be used. This function, however, is not guaranteed to work on all platforms and compilers.</p>
16+
also prevents the optimization. Finally, you can use the public-domain <code>secure_memzero</code> function
17+
(see references below). This function, however, is not guaranteed to work on all platforms and compilers.</p>
1818

1919
</recommendation>
2020
<example>

0 commit comments

Comments
 (0)