File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
cpp/ql/test/library-tests/dataflow/taint-tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -426,27 +426,27 @@ void test_vector_inserter(char *source_string) {
426426 std::vector<std::string> out;
427427 auto it = std::back_inserter (out);
428428 *it++ = std::string (source_string);
429- sink (out); // tainted [NOT DETECTED]
429+ sink (out); // tainted [NOT DETECTED by IR ]
430430 }
431431
432432 {
433433 std::vector<int > out;
434434 auto it = std::back_inserter (out);
435435 *it++ = source ();
436- sink (out); // tainted [NOT DETECTED]
436+ sink (out); // tainted [NOT DETECTED by IR ]
437437 }
438438
439439 {
440440 std::vector<std::string> out;
441441 auto it = std::back_inserter (out);
442442 *++it = std::string (source_string);
443- sink (out); // tainted [NOT DETECTED]
443+ sink (out); // tainted [NOT DETECTED by IR ]
444444 }
445445
446446 {
447447 std::vector<int > out;
448448 auto it = std::back_inserter (out);
449449 *++it = source ();
450- sink (out); // tainted [NOT DETECTED]
450+ sink (out); // tainted [NOT DETECTED by IR ]
451451 }
452452}
You can’t perform that action at this time.
0 commit comments