We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c007d4f commit a70975fCopy full SHA for a70975f
cpp/ql/test/library-tests/dataflow/taint-tests/taint.cpp
@@ -227,22 +227,22 @@ void test_lambdas()
227
228
auto a = [t, u]() -> int {
229
sink(t); // tainted
230
- sink(u); // clean [FALSE POSITIVE]
+ sink(u); // clean
231
return t;
232
};
233
sink(a()); // tainted
234
235
auto b = [&] {
236
237
238
v = source(); // (v is reference captured)
239
240
b();
241
sink(v); // tainted [NOT DETECTED]
242
243
auto c = [=] {
244
245
246
247
c();
248
0 commit comments