C++: Remove test for unrelated issue

The issue for that test is being tested and fixed on PR #2686. Adding a
test here will cause a semantic merge conflict.
This commit is contained in:
Jonas Jensen
2020-01-27 14:25:28 +01:00
parent 6cdca29aa6
commit 0e3ed2dfa6
2 changed files with 2 additions and 8 deletions

View File

@@ -10,8 +10,8 @@ void sink(const char *);
void sink(int);
int main(int argc, char *argv[]) {
int taintedInt = atoi(getenv("VAR"));
taintedInt++; // BUG: `taintedInt` isn't marked as tainted. Only `++` is.
sink(_strdup(getenv("VAR")));
sink(strdup(getenv("VAR")));