summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2023-09-20 12:19:35 (GMT)
committerArkadiusz Miśkiewicz2023-09-20 12:19:35 (GMT)
commitca4af5d25cffbdbb120b9d408f425fb9bb9aa442 (patch)
tree6787b2aedc4cebb4822a3ca3cd0410eb84c8ae9d
parent5c69b232140cd7c1d84a74ec880e13baa877467e (diff)
downloadbind-ca4af5d25cffbdbb120b9d408f425fb9bb9aa442.zip
bind-ca4af5d25cffbdbb120b9d408f425fb9bb9aa442.tar.gz
Up to 9.18.19; fixes CVE-2023-3341, CVE-2023-4236
-rw-r--r--bind.spec4
-rw-r--r--jemalloc.patch5
2 files changed, 5 insertions, 4 deletions
diff --git a/bind.spec b/bind.spec
index f4b8d1a..31dbdff 100644
--- a/bind.spec
+++ b/bind.spec
@@ -24,7 +24,7 @@
%bcond_without epoll # disable epoll support
%endif
-%define ver 9.18.18
+%define ver 9.18.19
%if 0
%define pverdot .P0
%define pverdir -P0
@@ -49,7 +49,7 @@ Epoch: 7
License: MPL 2.0
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/bind9/%{ver}%{pverdir}/%{name}-%{ver}%{pverdir}.tar.xz
-# Source0-md5: d8f443ea8fbd294345b3b7d1a7a81417
+# Source0-md5: 3da0a07a5dded9f12186c80663c30f57
Source1: named.init
Source2: named.sysconfig
Source3: named.logrotate
diff --git a/jemalloc.patch b/jemalloc.patch
index 7d8655a..36c36bd 100644
--- a/jemalloc.patch
+++ b/jemalloc.patch
@@ -1,10 +1,11 @@
--- bind-9.18.12/lib/isc/mem.c~ 2023-02-03 12:25:47.000000000 +0100
+++ bind-9.18.12/lib/isc/mem.c 2023-02-16 11:51:17.269729505 +0100
@@ -48,6 +48,7 @@
- #if defined(HAVE_MALLOC_NP_H) && !defined(__DragonFly__)
#include <malloc_np.h>
+ #define JEMALLOC_API_SUPPORTED 1
#elif defined(HAVE_JEMALLOC)
+#define JEMALLOC_MANGLE 1
#include <jemalloc/jemalloc.h>
+ #define JEMALLOC_API_SUPPORTED 1
- #if JEMALLOC_VERSION_MAJOR < 4
+