• michael-grunder's avatar
    Fix OBJECT arity · 3df2ab67
    michael-grunder authored
    Previously, the command definition for the OBJECT command specified
    a minimum of two args (and that it was variadic), which meant that
    if you sent this:
    
    OBJECT foo
    
    When cluster was enabled, it would result in an assertion/SEGFAULT
    when Redis was attempting to extract keys.
    
    It appears that OBJECT is not variadic, and only ever takes 3 args.
    
    https://gist.github.com/michael-grunder/25960ce1508396d0d36a
    3df2ab67
redis.c 126 KB