We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef5f16d commit e4af342Copy full SHA for e4af342
cpp/ql/test/query-tests/Likely Bugs/Memory Management/UsingExpiredStackAddress/test.cpp
@@ -77,7 +77,7 @@ int test_pointer_arith_good_1() {
77
int x;
78
address_escapes_through_pointer_arith();
79
s101.p = &x;
80
- return *s101.p; // GOOD [FALSE POSITIVE]
+ return *s101.p; // GOOD
81
}
82
83
int test_pointer_arith_good_2(bool b) {
@@ -196,4 +196,4 @@ void test_not_escape_through_array() {
196
int x20 = s1.a1[0]; // GOOD
197
int x21 = s1.a2[0][1]; // GOOD
198
int* x22 = s1.a3[5][2]; // GOOD
199
-}
+}
0 commit comments