Skip to content

Commit 227bf91

Browse files
committed
C++: Correct test annotation.
1 parent e89e99d commit 227bf91

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/library-tests/dataflow/taint-tests

1 file changed

+1
-1
lines changed

cpp/ql/test/library-tests/dataflow/taint-tests/taint.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ void *memcpy(void *dest, void *src, int len);
192192
void test_memcpy(int *source) {
193193
int x;
194194
memcpy(&x, source, sizeof(int));
195-
sink(x);
195+
sink(x); // tainted
196196
}
197197

198198
// --- std::swap ---

0 commit comments

Comments
 (0)