Skip to content

Commit

Permalink
Fix alignment of PG struct cause by ignore_user_abort big endian fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sgolemon committed Jan 23, 2018
1 parent e954baf commit 3ffdf6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions main/php_globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3ffdf6c

Please sign in to comment.