Skip to content

Commit 5437bd7

Browse files
committed
C++: Fix annotation.
1 parent d1eb774 commit 5437bd7

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,6 @@ void bad_new_with_nonthrowing_call() {
209209

210210
void bad_new_catch_baseclass_of_bad_alloc() {
211211
try {
212-
int* p = new(std::nothrow) int; // BAD [NOT DETECTED]
212+
int* p = new(std::nothrow) int; // BAD
213213
} catch(const std::exception&) { }
214214
}

0 commit comments

Comments
 (0)