C++: Flow through putback.

This commit is contained in:
Geoffrey White
2020-09-14 11:04:45 +01:00
parent 7cc60a30a6
commit eb7bd6e176
5 changed files with 17 additions and 4 deletions

View File

@@ -193,6 +193,6 @@ void test_stringstream_putback()
sink(ss.get());
sink(ss.putback('b'));
sink(ss.get());
sink(ss.putback(ns_char::source())); // tainted [NOT DETECTED]
sink(ss.get()); // tainted [NOT DETECTED]
sink(ss.putback(ns_char::source())); // tainted
sink(ss.get()); // tainted
}