diff options
Diffstat (limited to '0001-add-missing-globals-init.patch')
-rw-r--r-- | 0001-add-missing-globals-init.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/0001-add-missing-globals-init.patch b/0001-add-missing-globals-init.patch new file mode 100644 index 0000000..db23c3c --- /dev/null +++ b/0001-add-missing-globals-init.patch @@ -0,0 +1,24 @@ +From 21e362d7a5dc43481dfcf3fe7bf9e340e7cbecbd Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Mon, 7 Jun 2021 15:06:04 +0200 +Subject: [PATCH] add missing globals init + +--- + pam.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pam.c b/pam.c +index 8bf7393..28ec9ed 100644 +--- a/pam.c ++++ b/pam.c +@@ -287,6 +287,7 @@ static void php_pam_init_globals(zend_pam_globals *pam_globals) + */ + PHP_MINIT_FUNCTION(pam) + { ++ ZEND_INIT_MODULE_GLOBALS(pam, php_pam_init_globals, NULL); + REGISTER_INI_ENTRIES(); + return SUCCESS; + } +-- +2.31.1 + |