File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,9 @@ static HashTable *zend_persist_attributes(HashTable *attributes)
278
278
zend_accel_store_interned_string (copy -> lcname );
279
279
280
280
for (i = 0 ; i < copy -> argc ; i ++ ) {
281
- zend_accel_store_interned_string (copy -> args [i ].name );
281
+ if (copy -> args [i ].name ) {
282
+ zend_accel_store_interned_string (copy -> args [i ].name );
283
+ }
282
284
zend_persist_zval (& copy -> args [i ].value );
283
285
}
284
286
Original file line number Diff line number Diff line change @@ -165,7 +165,9 @@ static void zend_persist_attributes_calc(HashTable *attributes)
165
165
ADD_INTERNED_STRING (attr -> lcname );
166
166
167
167
for (i = 0 ; i < attr -> argc ; i ++ ) {
168
- ADD_INTERNED_STRING (attr -> args [i ].name );
168
+ if (attr -> args [i ].name ) {
169
+ ADD_INTERNED_STRING (attr -> args [i ].name );
170
+ }
169
171
zend_persist_zval_calc (& attr -> args [i ].value );
170
172
}
171
173
} ZEND_HASH_FOREACH_END ();
You can’t perform that action at this time.
0 commit comments