C++: Some data flow through partial chi operands

This commit is contained in:
Jonas Jensen
2020-01-22 17:06:21 +01:00
parent adc557fd66
commit 7376daf16e
6 changed files with 23 additions and 10 deletions

View File

@@ -21,8 +21,8 @@ int main(int argc, char *argv[]) {
char buf[100] = "VAR = ";
sink(strcat(buf, getenv("VAR")));
sink(buf); // BUG: no taint
sink(untainted_buf); // the two buffers would be conflated if we added flow through partial chi inputs
sink(buf);
sink(untainted_buf); // the two buffers would be conflated if we added flow through all partial chi inputs
return 0;
}