summaryrefslogtreecommitdiffstats
path: root/26.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-07-18 07:03:22 +0200
committerRemi Collet <remi@remirepo.net>2018-07-18 07:03:22 +0200
commit3111f47a12506b30b4cc38b33869379581fb86e3 (patch)
treef470ed7ccde07cbc9662593f52dde8c5b746b8fc /26.patch
parente434f22bb8fed093b53b7860abd0e036db1fda0a (diff)
rebuild for 7.3.0alpha4 new ABI
Diffstat (limited to '26.patch')
-rw-r--r--26.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/26.patch b/26.patch
new file mode 100644
index 0000000..5081b6c
--- /dev/null
+++ b/26.patch
@@ -0,0 +1,22 @@
+From 4a9e4ab0d12150805feca3012854de9fd4e5a721 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 6 Oct 2017 12:08:28 +0200
+Subject: [PATCH] Fix #23 Failed to read session data with 7.1/7.2
+
+---
+ php7/memcache_session.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/php7/memcache_session.c b/php7/memcache_session.c
+index dd2434a..45ba97d 100644
+--- a/php7/memcache_session.c
++++ b/php7/memcache_session.c
+@@ -289,7 +289,7 @@ PS_READ_FUNC(memcache)
+ ZVAL_NULL(&addresult);
+
+ /* third request fetches the data, data is only valid if either of the lock requests succeeded */
+- ZVAL_NULL(&dataresult);
++ ZVAL_EMPTY_STRING(&dataresult);
+
+ /* create requests */
+ if (php_mmc_session_read_request(pool, &zkey, lockparam, &addresult, dataparam, &lockrequest, &addrequest, &datarequest) != MMC_OK) {