mirror of
https://github.com/php/php-src.git
synced 2025-08-16 22:18:50 +02:00
- Fixed uninitialized and 1 character short local variable.
This commit is contained in:
parent
03de44f23e
commit
20e2c5fc33
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue