summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-09-19 16:00:03 +0800
committerKhem Raj <raj.khem@gmail.com>2023-09-20 15:34:03 -0700
commit89e0a3051a704f0b5f2bc2cd1ca276f45ba061b4 (patch)
treee30a06df30df00bac368596a49f5d450dadd4ba0 /meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch
parent31246c1bb0688488181a11481d2f21875f29daaa (diff)
downloadmeta-openembedded-89e0a3051a704f0b5f2bc2cd1ca276f45ba061b4.tar.gz
redis: upgrade 7.2.0 -> 7.2.1
Changelog: ========== -(CVE-2023-41053) Redis does not correctly identify keys accessed by SORT_RO and, as a result, may grant users executing this command access to keys that are not explicitly authorized by the ACL configuration. -Fix crashes when joining a node to an existing 7.0 Redis Cluster (#12538) Correct request_policy and response_policy command tips on for some admin / configuration commands (#12545, #12530) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch')
-rw-r--r--meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch
new file mode 100644
index 0000000000..be186b57da
--- /dev/null
+++ b/meta-oe/recipes-extended/redis/redis-7.2.1/oe-use-libc-malloc.patch
@@ -0,0 +1,34 @@
1From 38a5f403b033d03cdac3ff814687d83f61527d8e Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc
5
6Hack to force libc usage as it seems the option to pass it in has been
7removed in favor of magic.
8
9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly.
11
12Signed-off-by: Venture Research <tech@ventureresearch.com>
13
14Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17---
18 src/Makefile | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
20
21diff --git a/src/Makefile b/src/Makefile
22index ecbd275..39decee 100644
23--- a/src/Makefile
24+++ b/src/Makefile
25@@ -13,7 +13,8 @@
26 # Just use 'make dep', but this is only needed by developers.
27
28 release_hdr := $(shell sh -c './mkreleasehdr.sh')
29-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
30+# use fake uname option to force use of generic libc
31+uname_S := "USE_LIBC_MALLOC"
32 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
33 CLANG := $(findstring clang,$(shell sh -c '$(CC) --version | head -1'))
34 OPTIMIZATION?=-O3