National Institute of Standards and Technology
Package illustrating a test case

Test case 162357

Description

Safe sample
input : use fopen to read /tmp/tainted.txt and put the first line in $tainted
SANITIZE : use in_array to check if $tainted is in the white list
construction : use of sprintf via a %s with simple quote

Test Suites

Have any comments on this test case? Please, send us an email.