- Fixed uninitialized and 1 character short local variable.

This commit is contained in:
Gustavo André dos Santos Lopes 2010-10-24 21:19:04 +00:00
parent 03de44f23e
commit 20e2c5fc33

View file

@ -1577,7 +1577,7 @@ static inline void write_s3row_data(
enum entity_charset charset, enum entity_charset charset,
zval *arr) 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] = {'&'}; char entity[LONGEST_ENTITY_LENGTH + 2] = {'&'};
size_t written_k1; size_t written_k1;