Skip to content

Commit 8b215c1

Browse files
committed
C++: Correct a few test comments.
1 parent b1f66ae commit 8b215c1

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,12 @@ void test1()
7676
{
7777
char buffer[256] = {0};
7878
sink(snprintf(buffer, 256, "%i", source()));
79-
sink(buffer); // tainted
79+
sink(buffer); // tainted [NOT DETECTED]
8080
}
8181
{
8282
char buffer[256] = {0};
8383
sink(snprintf(buffer, 256, "%.*s", source(), "Hello."));
84-
sink(buffer); // tainted
84+
sink(buffer); // tainted [NOT DETECTED]
8585
}
8686

8787
{

0 commit comments

Comments
 (0)