Skip to content

Commit 8115018

Browse files
authored
Ensure proper alignment of zend_accel_shared_globals.interned_strings (#15359)
1 parent 8c4f019 commit 8115018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ typedef struct _zend_accel_shared_globals {
280280
const void **jit_exit_groups;
281281

282282
/* Interned Strings Support (must be the last element) */
283-
zend_string_table interned_strings;
283+
ZEND_SET_ALIGNED(ZEND_STRING_TABLE_POS_ALIGNMENT, zend_string_table interned_strings);
284284
} zend_accel_shared_globals;
285285

286286
#ifdef ZEND_WIN32

0 commit comments

Comments
 (0)