summaryrefslogtreecommitdiffstats
path: root/0001-add-missing-globals-init.patch
blob: db23c3c32de211a90740054619d6346ad0662fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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