Skip to content

Commit 8ab22fe

Browse files
bdrodesgeoffw0
andauthored
Update cpp/ql/test/query-tests/Security/CWE/CWE-119/semmle/tests/tests.cpp
Co-authored-by: Geoffrey White <[email protected]>
1 parent 7889895 commit 8ab22fe

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-119/semmle/tests

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-119/semmle/tests/tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ const MYSTRUCT _myStruct = { 0 };
679679
typedef const MYSTRUCT& MYSTRUCTREF;
680680

681681
// False positive case due to use of typedefs
682-
int test27(MYSTRUCTREF g)
682+
int test28(MYSTRUCTREF g)
683683
{
684684
return memcmp(&g, &_myStruct, sizeof(MYSTRUCT)); // GOOD
685685
}

0 commit comments

Comments
 (0)