mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05: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…
Reference in New Issue
Block a user