From 92455bb0360a0c914f89edfedb3ffd7fc4e90b72 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 19 Jul 2019 11:12:39 +0200 Subject: [PATCH] RDB: fix MODULE_AUX loading by continuing to next opcode. Thanks to @JohnSully for noticing this problem. --- src/rdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rdb.c b/src/rdb.c index 97fad2573..2118a00f4 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -2116,6 +2116,7 @@ int rdbLoadRio(rio *rdb, rdbSaveInfo *rsi, int loading_aof) { /* RDB check mode. */ robj *aux = rdbLoadCheckModuleValue(rdb,name); decrRefCount(aux); + continue; /* Read next opcode. */ } }