fixed crash when calling CreateStringFromCallReply on array elements

This commit is contained in:
Dvir Volk 2016-04-29 18:58:09 +03:00 committed by antirez
parent 3816f16a53
commit 9a71df505c

View File

@ -1896,6 +1896,7 @@ void moduleParseCallReply_Array(RedisModuleCallReply *reply) {
ele->flags = REDISMODULE_REPLYFLAG_NESTED |
REDISMODULE_REPLYFLAG_TOPARSE;
ele->proto = p;
ele->ctx = reply->ctx;
moduleParseCallReply(ele);
p += ele->protolen;
}