mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 00:31:21 +00:00
Explicitly zero zval since it is stored on the stack
This commit is contained in:
@ -1515,6 +1515,7 @@ void zunionInterGenericCommand(redisClient *c, robj *dstkey, int op) {
|
||||
|
||||
dstobj = createZsetObject();
|
||||
dstzset = dstobj->ptr;
|
||||
memset(&zval, 0, sizeof(zval));
|
||||
|
||||
if (op == REDIS_OP_INTER) {
|
||||
/* Skip everything if the smallest input is empty. */
|
||||
|
Reference in New Issue
Block a user