National Institute of Standards and Technology
Package illustrating a test case

Test case 162191

Description

Unsafe sample
input : use fopen to read /tmp/tainted.txt and put the first line in $tainted
SANITIZE : use of preg_replace
construction : concatenation with simple quote

Flaws

Test Suites

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