Skip to content

Commit 8d594db

Browse files
MathiasVPgeoffw0
andauthored
Update cpp/ql/test/query-tests/Security/CWE/CWE-570/test.cpp
Co-authored-by: Geoffrey White <[email protected]>
1 parent 0d1884d commit 8d594db

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-570

1 file changed

+1
-1
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-570/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,6 @@ void good_new_catch_exception_in_conversion() {
230230
void *operator new(std::size_t, int n, const std::nothrow_t &);
231231

232232
void test_operator_new_without_exception_spec() {
233-
int* p = new(42, std::nothrow) int; // GOOD [FALSE POSITIVE]
233+
int* p = new(42, std::nothrow) int; // GOOD
234234
if(p == nullptr) {}
235235
}

0 commit comments

Comments
 (0)