mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-07 17:27:30 +00:00
Fix off-by-one here
This commit is contained in:
1 parent
8d84b1f67a
commit
c8e1fae17f
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user