mirror of
https://github.com/php/php-src.git
synced 2024-10-01 06:46:08 +00:00
11 lines
866 B
Plaintext
11 lines
866 B
Plaintext
|
--TEST--
|
||
|
Bug #60965: Buffer overflow on htmlspecialchars/entities with $double=false
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo htmlspecialchars('"""""""""""""""""""""""""""""""""""""""""""""',
|
||
|
ENT_QUOTES, 'UTF-8', false), "\n";
|
||
|
echo "Done.\n";
|
||
|
--EXPECT--
|
||
|
"""""""""""""""""""""""""""""""""""""""""""""
|
||
|
Done.
|