diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-20 17:59:07 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-20 17:59:59 +0200 |
commit | a85254b898e5096a6f2d9aac53b8654f02821204 (patch) | |
tree | 90dfdd2e4d776cae909fa7e9908f3d37c38c99e6 /ext/opcache/zend_file_cache.c | |
parent | a0f370e78a3161a735869131b234c539aa712d31 (diff) | |
parent | fcd6f2de60e1fc593fa301f3af42b871624946d9 (diff) | |
download | php-git-a85254b898e5096a6f2d9aac53b8654f02821204.tar.gz |
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78189: file cache strips last character of uname hash
Diffstat (limited to 'ext/opcache/zend_file_cache.c')
-rw-r--r-- | ext/opcache/zend_file_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/zend_file_cache.c b/ext/opcache/zend_file_cache.c index c68163ef7f..907a7faeac 100644 --- a/ext/opcache/zend_file_cache.c +++ b/ext/opcache/zend_file_cache.c @@ -778,7 +778,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, ZCG(system_id), 32); |