diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-20 18:02:01 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-06-20 18:02:01 +0200 |
commit | 360b58e43b9a29afdbe342f756a9332b854077cc (patch) | |
tree | 8c051a345072927f34d74065a888e471aadfd668 /ext/opcache/zend_file_cache.c | |
parent | 0d31a8e4e1f513e17ed4cd143a482ff3b1b7b4db (diff) | |
parent | 2b4fc9eb9c0e0b607dfb0bf779936507be1ad58b (diff) | |
download | php-git-360b58e43b9a29afdbe342f756a9332b854077cc.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
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 c98b937418..0e4d7748c9 100644 --- a/ext/opcache/zend_file_cache.c +++ b/ext/opcache/zend_file_cache.c @@ -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); |