1. 20 Jul, 2020 6 commits
    • meir@redislabs.com's avatar
      Fix RM_ScanKey module api not to return int encoded strings · 51e17845
      meir@redislabs.com authored
      The scan key module API provides the scan callback with the current
      field name and value (if it exists). Those arguments are RedisModuleString*
      which means it supposes to point to robj which is encoded as a string.
      Using createStringObjectFromLongLong function might return robj that
      points to an integer and so break a module that tries for example to
      use RedisModule_StringPtrLen on the given field/value.
      
      The PR introduces a fix that uses the createObject function and sdsfromlonglong function.
      Using those function promise that the field and value pass to the to the
      scan callback will be Strings.
      
      The PR also changes the Scan test module to use RedisModule_StringPtrLen
      to catch the issue. without this, the issue is hidden because
      RedisModule_ReplyWithString knows to handle integer encoding of the
      given robj (RedisModuleString).
      
      The PR also introduces a new test to verify the issue is solved.
      
      (cherry picked from commit a89bf734)
      51e17845
    • antirez's avatar
      Fix LCS object type checking. Related to #7379. · 82b2bfd2
      antirez authored
      (cherry picked from commit 10553988)
      82b2bfd2
    • hwware's avatar
      fix memory leak · ec1faeec
      hwware authored
      (cherry picked from commit 7008a0ba)
      ec1faeec
    • hwware's avatar
      fix server crash in STRALGO command · c1326d7b
      hwware authored
      (cherry picked from commit 2a05fa0d)
      c1326d7b
    • Benjamin Sergeant's avatar
      Update redis-cli.c · 845fb2d1
      Benjamin Sergeant authored
      (cherry picked from commit 93021da2)
      845fb2d1
    • Jamie Scott's avatar
      minor fix · 930fac80
      Jamie Scott authored
      (cherry picked from commit 4f3b15e6)
      930fac80
  2. 12 Jun, 2020 5 commits
  3. 09 Jun, 2020 9 commits
  4. 06 Jun, 2020 6 commits
  5. 28 May, 2020 14 commits