• michael-grunder's avatar
    Fix LUA_OBJCACHE segfault. · 6f493951
    michael-grunder authored
    When scanning the argument list inside of a redis.call() invocation
    for pre-cached values, there was no check being done that the
    argument we were on was in fact within the bounds of the cache size.
    
    So if a redis.call() command was ever executed with more than 32
    arguments (current cache size #define setting) redis-server could
    segfault.
    6f493951
scripting.c 40.2 KB