php-src/ext/standard/tests/strings/bug38322.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

14 lines
209 B
PHP

--TEST--
Bug #38322 (reading past array in sscanf() leads to segfault/arbitary code execution)
--FILE--
<?php
$str = "a b c d e";
var_dump(sscanf("a ",'%1$s',$str));
echo "Done\n";
?>
--EXPECT--
int(1)
Done