]> andersk Git - splint.git/blob - test/tainted/test.c
Fixed preds.expect for name change.
[splint.git] / test / tainted / test.c
1 void test (/*@tainted@*/ char *s)
2 {
3   char *t = malloc (sizeof (char) * strlen (s));
4   assert (t != NULL);
5   strcpy (t, s);
6   /* t is tainted too */
7   (void) system (t); /* error */
8 }
This page took 0.728653 seconds and 5 git commands to generate.