mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Fix off-by-one here
This commit is contained in:
parent
8d84b1f67a
commit
c8e1fae17f
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ static int accelerator_get_scripts(zval *return_value TSRMLS_DC)
|
|||
timerclear(&exec_time);
|
||||
timerclear(&fetch_time);
|
||||
|
||||
zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length-1, &persistent_script_report);
|
||||
zend_hash_str_update(Z_ARRVAL_P(return_value), cache_entry->key, cache_entry->key_length, &persistent_script_report);
|
||||
}
|
||||
}
|
||||
accelerator_shm_read_unlock(TSRMLS_C);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue