blob: 57a3b1c9473e58722cef521ee0a6f5fba69a0ae0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--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.
|