@@ -1339,7 +1339,7 @@ static zend_persistent_script *cache_script_in_shared_memory(zend_persistent_scr
1339
1339
/* store script structure in the hash table */
1340
1340
bucket = zend_accel_hash_update (& ZCSG (hash ), ZSTR_VAL (new_persistent_script -> full_path ), ZSTR_LEN (new_persistent_script -> full_path ), 0 , new_persistent_script );
1341
1341
if (bucket ) {
1342
- zend_accel_error (ACCEL_LOG_INFO , "Cached script '%s'" , new_persistent_script -> full_path );
1342
+ zend_accel_error (ACCEL_LOG_INFO , "Cached script '%s'" , ZSTR_VAL ( new_persistent_script -> full_path ) );
1343
1343
if (key &&
1344
1344
/* key may contain non-persistent PHAR aliases (see issues #115 and #149) */
1345
1345
memcmp (key , "phar://" , sizeof ("phar://" ) - 1 ) != 0 &&
@@ -1806,7 +1806,7 @@ zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type)
1806
1806
if (checksum != persistent_script -> dynamic_members .checksum ) {
1807
1807
/* The checksum is wrong */
1808
1808
zend_accel_error (ACCEL_LOG_INFO , "Checksum failed for '%s': expected=0x%0.8X, found=0x%0.8X" ,
1809
- persistent_script -> full_path , persistent_script -> dynamic_members .checksum , checksum );
1809
+ ZSTR_VAL ( persistent_script -> full_path ) , persistent_script -> dynamic_members .checksum , checksum );
1810
1810
zend_shared_alloc_lock ();
1811
1811
if (!persistent_script -> corrupted ) {
1812
1812
persistent_script -> corrupted = 1 ;
0 commit comments