Skip to content

Commit 617ef32

Browse files
committed
C++: Remove [FALSE POSITIVE] annotations
1 parent 3c16712 commit 617ef32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/ql/test/library-tests/dataflow/DefaultTaintTracking/defaulttainttracking.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,5 @@ void test_conflated_fields3() {
115115
XY xy;
116116
xy.x = 0;
117117
taint_y(&xy);
118-
sink(xy.x); // not tainted [FALSE POSITIVE]
118+
sink(xy.x); // not tainted
119119
}

cpp/ql/test/query-tests/Security/CWE/CWE-190/semmle/TaintedAllocationSize/field_conflation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ void test_conflated_fields3(void) {
1717
struct XY xy;
1818
xy.x = 4;
1919
taint_array(&xy);
20-
malloc(xy.x); // not tainted [FALSE POSITIVE]
20+
malloc(xy.x); // not tainted
2121
}

0 commit comments

Comments
 (0)