Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9e3b288

Browse files
ihsinmeMathiasVP
andauthored
Update cpp/ql/src/experimental/Security/CWE/CWE-14/CompilerRemovalOfCodeToClearBuffers.c
Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent b26a90e commit 9e3b288

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cpp/ql/src/experimental/Security/CWE/CWE-14/CompilerRemovalOfCodeToClearBuffers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// BAD: the memset call will probably be optimized.
1+
// BAD: the memset call will probably be removed.
22
void getPassword(void) {
33
char pwd[64];
44
if (GetPassword(pwd, sizeof(pwd))) {

0 commit comments

Comments
 (0)