mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Fixed bug #76427 (Segfault in zend_objects_store_put)
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
(o) = (zend_object*)((((zend_uintptr_t)(n)) << 1) | OBJ_BUCKET_INVALID); \
|
||||
} while (0)
|
||||
|
||||
#define ZEND_OBJECTS_STORE_ADD_TO_FREE_LIST(h) do { \
|
||||
SET_OBJ_BUCKET_NUMBER(EG(objects_store).object_buckets[(h)], EG(objects_store).free_list_head); \
|
||||
EG(objects_store).free_list_head = (h); \
|
||||
} while (0)
|
||||
|
||||
#define OBJ_RELEASE(obj) zend_object_release(obj)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user