Skip to content

Commit 692e4e8

Browse files
yatsukhnenkomichael-grunder
authored andcommitted
1 parent 7d1f129 commit 692e4e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

redis_commands.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4128,6 +4128,7 @@ void redis_setoption_handler(INTERNAL_FUNCTION_PARAMETERS,
41284128
}
41294129
RETURN_TRUE;
41304130
case REDIS_OPT_FAILOVER:
4131+
if (c == NULL) RETURN_FALSE;
41314132
val_long = zval_get_long(val);
41324133
if (val_long == REDIS_FAILOVER_NONE ||
41334134
val_long == REDIS_FAILOVER_ERROR ||

0 commit comments

Comments
 (0)