summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch')
-rw-r--r--meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch b/meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch
deleted file mode 100644
index 9078f2448e..0000000000
--- a/meta/recipes-connectivity/bind/bind/CVE-2020-8625.patch
+++ /dev/null
@@ -1,17 +0,0 @@
1Upstream-Status: Backporting [https://downloads.isc.org/isc/bind9/9.16.12/patches/CVE-2020-8625.patch]
2CVE: CVE-2020-8625
3Signed-off-by: Minjae Kim <flowergom@gmail.com>
4
5diff --git a/lib/dns/spnego.c b/lib/dns/spnego.c
6index e61d1c600f2..753dc8049fa 100644
7--- a/lib/dns/spnego.c
8+++ b/lib/dns/spnego.c
9@@ -848,7 +848,7 @@ der_get_oid(const unsigned char *p, size_t len, oid *data, size_t *size) {
10 return (ASN1_OVERRUN);
11 }
12
13- data->components = malloc(len * sizeof(*data->components));
14+ data->components = malloc((len + 1) * sizeof(*data->components));
15 if (data->components == NULL) {
16 return (ENOMEM);
17 }