mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #78189: file cache strips last character of uname hash
This commit is contained in:
commit
360b58e43b
2 changed files with 23 additions and 1 deletions
|
@ -856,7 +856,7 @@ static char *zend_file_cache_get_bin_file_path(zend_string *script_path)
|
|||
memcpy(filename, ZCG(accel_directives).file_cache, len);
|
||||
filename[len] = '\\';
|
||||
memcpy(filename + 1 + len, md5uname, 32);
|
||||
len += 32;
|
||||
len += 1 + 32;
|
||||
filename[len] = '\\';
|
||||
|
||||
memcpy(filename + len + 1, accel_system_id, 32);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue