mirror of
https://github.com/php/php-src.git
synced 2026-04-18 05:21:02 +02: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
|