Skip to content

Commit 7695694

Browse files
authored
Merge pull request github#13604 from jketema/annotation
C++: Fix test annotation for `cpp/invalid-pointer-deref` test
2 parents 43a8119 + 527b908 commit 7695694

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/experimental/query-tests/Security/CWE/CWE-193/pointer-deref

1 file changed

+1
-1
lines changed

cpp/ql/test/experimental/query-tests/Security/CWE/CWE-193/pointer-deref/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ void test26(unsigned size) {
369369
}
370370

371371
if (p < end) {
372-
int val = *p; // GOOD [FALSE POSITIVE]
372+
int val = *p; // GOOD
373373
}
374374
}
375375

0 commit comments

Comments
 (0)