cataphract Sun, 24 Oct 2010 21:19:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304713
Log:
- Fixed uninitialized and 1 character short local variable.
Changed paths:
U php/php-src/trunk/ext/standard/html.c
Modified: php/php-src/trunk/ext/standard/html.c
===================================================================
--- php/php-src/trunk/ext/standard/html.c 2010-10-24 21:12:03 UTC (rev
304712)
+++ php/php-src/trunk/ext/standard/html.c 2010-10-24 21:19:04 UTC (rev
304713)
@@ -1577,7 +1577,7 @@
enum entity_charset charset,
zval *arr)
{
- char key[8]; /* two unicode code points in UTF-8 */
+ char key[9] = ""; /* two unicode code points in UTF-8 */
char entity[LONGEST_ENTITY_LENGTH + 2] = {'&'};
size_t written_k1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php