mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
fixed crash when calling CreateStringFromCallReply on array elements
This commit is contained in:
parent
3816f16a53
commit
9a71df505c
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user