1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/standard/tests/strings/bug67249.phpt
2020-04-22 10:14:30 +02:00

13 lines
206 B
PHP

--TEST--
Bug #67249 (printf out-of-bounds read)
--FILE--
<?php
try {
var_dump(sprintf("%'", "foo"));
} catch (ValueError $e) {
echo $e->getMessage(), "\n";
}
?>
--EXPECT--
Missing padding character