File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ PHP NEWS
22|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33?? ??? ????, PHP 8.4.16
44
5+ - Opcache:
6+ . Fixed bug GH-20329 (opcache.file_cache broken with full interned string
7+ buffer). (Arnaud)
8+
59- Tidy:
610 . Fixed bug GH-20374 (PHP with tidy and custom-tags). (ndossche)
711
Original file line number Diff line number Diff line change @@ -135,17 +135,13 @@ static int zend_file_cache_flock(int fd, int type)
135135 (ptr) = (void*)((char*)buf + (size_t)(ptr)); \
136136 } \
137137 } while (0)
138+
138139#define SERIALIZE_STR (ptr ) do { \
139140 if (ptr) { \
140141 if (IS_ACCEL_INTERNED(ptr)) { \
141142 (ptr) = zend_file_cache_serialize_interned((zend_string*)(ptr), info); \
142143 } else { \
143144 ZEND_ASSERT(IS_UNSERIALIZED(ptr)); \
144- /* script->corrupted shows if the script in SHM or not */ \
145- if (EXPECTED (script -> corrupted )) { \
146- GC_ADD_FLAGS (ptr , IS_STR_INTERNED ); \
147- GC_DEL_FLAGS (ptr , IS_STR_PERMANENT ); \
148- } \
149145 (ptr) = (void*)((char*)(ptr) - (char*)script->mem); \
150146 } \
151147 } \
@@ -164,6 +160,7 @@ static int zend_file_cache_flock(int fd, int type)
164160 GC_ADD_FLAGS (ptr , IS_STR_INTERNED ); \
165161 GC_DEL_FLAGS (ptr , IS_STR_PERMANENT ); \
166162 } \
163+ GC_DEL_FLAGS (ptr , IS_STR_CLASS_NAME_MAP_PTR ); \
167164 } \
168165 } \
169166 } while (0 )
You can’t perform that action at this time.
0 commit comments