]> andersk Git - splint.git/blame - test/tainted/taintedmerge.c
Fixed problem with comman line redefinitions (no filename).
[splint.git] / test / tainted / taintedmerge.c
CommitLineData
98ed3b22 1char *f (/*@tainted@*/ char *s)
2{
3 char t[50];
4
5 (void) system ("test");
6 strcpy (t, "test");
7
8 (void) system (t);
9
10 strcat (t, s);
11 (void) system (t); /* error */
12
13 strcpy (t, s);
14 (void) system (t); /* error */
15
16 return t; /* error - tainted, stack-allocated */
17}
This page took 0.540981 seconds and 5 git commands to generate.