From 41e56db75f1139b60b505a970726239ea732be5a Mon Sep 17 00:00:00 2001 From: "Sergey A. Osokin" Date: Tue, 5 Nov 2019 21:38:26 +0000 Subject: Update from 5.0.5 to 5.0.6. Regenerate the patches to make portlint(1) happier. Upgrade urgency CRITICAL: Only in case of exposed instances to untrusted users. This Redis release, 5.0.6, is a bugfix and enhancement release. The most important bugfix is a corruption related to the HyperLogLog. A malformed HyperLogLog string could cause an invalid access to the memory. At a first glance the vulnerability appears to be not exploitable but just a DoS. The way to trigger the issue is complex, we'll not provide any information about how to do that for the users safety. Other significant changes in this release: * New modules APIs merged from Redis unstable to Redis 5. * Some memory optimization related to objects creation. * Fixes to flushSlaveOutputBuffer() that make sure that SHUTDOWN will transfer pending buffers to replicas. --- databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c (limited to 'databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c') diff --git a/databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c b/databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c new file mode 100644 index 000000000000..0bb150504c67 --- /dev/null +++ b/databases/redis-devel/files/patch-deps_lua_src_lua__cjson.c @@ -0,0 +1,12 @@ +--- deps/lua/src/lua_cjson.c.orig 2019-09-25 10:40:18 UTC ++++ deps/lua/src/lua_cjson.c +@@ -46,7 +46,9 @@ + #include "strbuf.h" + #include "fpconv.h" + ++#if defined(__sun) + #include "../../../src/solarisfixes.h" ++#endif + + #ifndef CJSON_MODNAME + #define CJSON_MODNAME "cjson" -- cgit v1.2.3