Skip to content

Commit 2a9133a

Browse files
committed
C++: Accept query-test changes.
1 parent d628905 commit 2a9133a

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-611

1 file changed

+2
-2
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-611/tests3.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void test3_2(InputSource &data) {
3535
SAX2XMLReader *p_3_3 = XMLReaderFactory::createXMLReader();
3636

3737
void test3_3(InputSource &data) {
38-
p_3_3->parse(data); // BAD (parser not correctly configured) [NOT DETECTED]
38+
p_3_3->parse(data); // BAD (parser not correctly configured)
3939
}
4040

4141
SAX2XMLReader *p_3_4 = XMLReaderFactory::createXMLReader();
@@ -53,7 +53,7 @@ void test3_5_init() {
5353

5454
void test3_5(InputSource &data) {
5555
test3_5_init();
56-
p_3_5->parse(data); // GOOD
56+
p_3_5->parse(data); // GOOD [FALSE POSITIVE]
5757
}
5858

5959
void test3_6(InputSource &data) {

0 commit comments

Comments
 (0)