1. 15 1月, 2018 3 次提交
  2. 13 1月, 2018 4 次提交
  3. 12 1月, 2018 1 次提交
    • A
      Fix getKeysUsingCommandTable() in the case of nagative arity. · 2f8476df
      antirez 提交于
      This fixes a crash with Redis Cluster when OBJECT is mis-used, because
      getKeysUsingCommandTable() will call serverPanic() detecting we are
      accessing an invalid argument in the case "OBJECT foo" is called.
      
      This bug was introduced when OBJECT HELP was introduced, because the key
      argument is set fixed at index 2 in the command table, however now
      OBJECT may be called with an insufficient number of arguments to extract
      the key.
      
      The "Right Thing" would be to have a specific function to extract keys
      from the OBJECT command, however this is kinda of an overkill, so I
      preferred to make getKeysUsingCommandTable() more robust and just return
      no keys when it's not possible to honor the command table, because new
      commands are often added and also there are a number with an HELP
      subcommand violating the normal form, and crashing for this trivial
      reason or having many command-specific key extraction functions is not
      great.
      2f8476df
  4. 11 1月, 2018 4 次提交
  5. 10 1月, 2018 3 次提交
  6. 09 1月, 2018 1 次提交
  7. 07 1月, 2018 1 次提交
  8. 05 1月, 2018 2 次提交
  9. 03 1月, 2018 1 次提交
  10. 29 12月, 2017 2 次提交
  11. 22 12月, 2017 3 次提交
  12. 15 12月, 2017 3 次提交
  13. 14 12月, 2017 4 次提交
  14. 13 12月, 2017 1 次提交
  15. 12 12月, 2017 1 次提交
  16. 06 12月, 2017 4 次提交
  17. 05 12月, 2017 2 次提交