diff options
author | Remi Collet <remi@remirepo.net> | 2017-10-06 11:29:57 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-10-06 11:29:57 +0200 |
commit | d43f1e8fe272487815100b016da44e9dfe6c3404 (patch) | |
tree | 91d077dbdaa56168eb210a31ddfc277d65286fcf /memcache-session.patch | |
parent | 36052ea3278abe639088429859b59195af1ed873 (diff) |
refresh to more recent snapshot
add patch from https://github.com/websupport-sk/pecl-memcache/issues/23
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) { |