mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
13 lines
206 B
PHP
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
|