diff options
Diffstat (limited to 'ext/standard/html.c')
-rw-r--r-- | ext/standard/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |