diff --git a/cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test_errors.cpp b/cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test_errors.cpp index be7e430cd3a6..4306d85157b8 100644 --- a/cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test_errors.cpp +++ b/cpp/ql/test/query-tests/Likely Bugs/Memory Management/ReturnStackAllocatedMemory/test_errors.cpp @@ -7,10 +7,10 @@ UNKNOWN_TYPE test_error_value() { void* test_error_pointer() { UNKNOWN_TYPE x; - return &x; // GOOD: Don't know what &x means + return &x; // BAD [FALSE NEGATIVE] } int* test_error_pointer_member() { UNKNOWN_TYPE x; - return &x.y; // GOOD: Don't know what x.y means + return &x.y; // BAD [FALSE NEGATIVE] }