]> andersk Git - splint.git/blame - test/tainted/test.c
Added the splint.org css sheet to the html version of the faq.
[splint.git] / test / tainted / test.c
CommitLineData
98ed3b22 1void 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.06343 seconds and 5 git commands to generate.