Skip to content

Commit 3005f25

Browse files
committed
C++: Fix annotation
1 parent 0ba72c6 commit 3005f25

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/tainted/test2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ typedef struct _myStruct {
1212
void test2_sink(s64 v, MyStruct s, MyStruct &s_r, MyStruct *s_p)
1313
{
1414
s64 v1 = v * 2; // bad
15-
s64 v2 = s.val * 2; // bad [NOT DETECTED]
15+
s64 v2 = s.val * 2; // bad
1616
s64 v3 = s_r.val * 2; // bad
1717
s64 v4 = s_p->val * 2; // bad
1818
}

0 commit comments

Comments
 (0)