mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed bug #70529 Session read causes "String is not zero-terminated" error
This commit is contained in:
parent
7680194a93
commit
2f7cc862d7
2 changed files with 5 additions and 0 deletions
|
@ -519,6 +519,7 @@ PS_READ_FUNC(files)
|
|||
return FAILURE;
|
||||
}
|
||||
|
||||
ZSTR_VAL(*val)[ZSTR_LEN(*val)] = '\0';
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue