svn: /php/php-src/trunk/ext/standard/ html.c

From: Date: Sun, 24 Oct 2010 21:19:04 +0000
Subject: svn: /php/php-src/trunk/ext/standard/ html.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-63711@lists.php.net to get a copy of this message
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;

« previous php.cvs (#63711) next »