From 3ffdf6c088c689785e33f6947a2db42635c05baf Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Tue, 23 Jan 2018 11:06:34 -0500 Subject: Fix alignment of PG struct cause by ignore_user_abort big endian fix --- main/php_globals.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'main/php_globals.h') diff --git a/main/php_globals.h b/main/php_globals.h index 82eefb779f..a8f7dc2e43 100644 --- a/main/php_globals.h +++ b/main/php_globals.h @@ -107,7 +107,12 @@ struct _php_core_globals { HashTable rfc1867_protected_variables; short connection_status; + + /* In 7.1/7.2 branches, this was initially a short, + * maintain struct alignment with subsequent padding. + */ zend_bool ignore_user_abort; + char ignore_user_abort_reserved_padding; unsigned char header_is_being_sent; -- cgit v1.2.1