diff options
Diffstat (limited to 'memcache-session.patch')
-rw-r--r-- | memcache-session.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/memcache-session.patch b/memcache-session.patch new file mode 100644 index 0000000..eec0bd1 --- /dev/null +++ b/memcache-session.patch @@ -0,0 +1,13 @@ +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) { |