8000 Merge pull request #741 from KartinaTV/develop · jrtkcoder/phpredis@fcf52b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit fcf52b8

Browse files
Merge pull request phpredis#741 from KartinaTV/develop
Fix problem with rediscluster storage
2 parents a3e1141 + cc15aae commit fcf52b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redis_session.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ PS_READ_FUNC(rediscluster) {
627627

628628
/* Attempt to read reply */
629629
reply = cluster_read_resp(c TSRMLS_CC);
630-
if (!reply || c->err) {
630+
if (!reply || c->err || reply->str == NULL) {
631631
if (reply) cluster_free_reply(reply, 1);
632632
return FAILURE;
633633
}

0 commit comments

Comments
 (0)
0