From: Gustavo André dos Santos Lopes Date: Sun, 24 Oct 2010 21:19:04 +0000 (+0000) Subject: - Fixed uninitialized and 1 character short local variable. X-Git-Tag: php-5.4.0alpha1~191^2~768 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20e2c5fc33d87d0294f15c0b8a08024c001acb0c;p=php - Fixed uninitialized and 1 character short local variable. --- diff --git a/ext/standard/html.c b/ext/standard/html.c index 7ca8416fe3..8cf4fe45be 100644 --- a/ext/standard/html.c +++ b/ext/standard/html.c @@ -1577,7 +1577,7 @@ static inline void write_s3row_data( 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;