diff options
| author | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-08-20 11:00:56 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-01 21:19:42 +0100 |
| commit | 38fd01f417fdb0a0b6ceb74647b3b2762d3dace8 (patch) | |
| tree | cf2505d5f0179470674c1fb53de6dfdaea65b963 /meta | |
| parent | 1f404c9bd87042fc0719f8ebc2a90aaceceaf52a (diff) | |
| download | poky-38fd01f417fdb0a0b6ceb74647b3b2762d3dace8.tar.gz | |
bind: backport patch for CVE-2015-5477
(From OE-Core rev: ba84c727b9c8c743e7ac87e6c84456f679118af8)
Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-connectivity/bind/bind/cve-2015-5477.patch | 24 | ||||
| -rw-r--r-- | meta/recipes-connectivity/bind/bind_9.9.5.bb | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/bind/bind/cve-2015-5477.patch b/meta/recipes-connectivity/bind/bind/cve-2015-5477.patch new file mode 100644 index 0000000000..5048d98e58 --- /dev/null +++ b/meta/recipes-connectivity/bind/bind/cve-2015-5477.patch | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | From: Mark Andrews <marka@isc.org> | ||
| 2 | Date: Tue, 14 Jul 2015 04:48:42 +0000 (+1000) | ||
| 3 | Subject: 4165. [bug] An failure to reset a value to NULL in tkey.c could | ||
| 4 | X-Git-Url: https://source.isc.org/cgi-bin/gitweb.cgi?p=bind9.git;a=commitdiff_plain;h=dbb064aa7972ef918d9a235b713108a4846cbb62;hp=faa3b61828dc2c6b92b68cd6e603fe2b9a7d5fdc | ||
| 5 | |||
| 6 | 4165. [bug] An failure to reset a value to NULL in tkey.c could | ||
| 7 | result in an assertion failure. (CVE-2015-5477) | ||
| 8 | [RT #40046] | ||
| 9 | |||
| 10 | Upstream-Status: Backport | ||
| 11 | --- | ||
| 12 | |||
| 13 | Index: bind-9.9.5/lib/dns/tkey.c | ||
| 14 | =================================================================== | ||
| 15 | --- bind-9.9.5.orig/lib/dns/tkey.c | ||
| 16 | +++ bind-9.9.5/lib/dns/tkey.c | ||
| 17 | @@ -650,6 +650,7 @@ dns_tkey_processquery(dns_message_t *msg | ||
| 18 | * Try the answer section, since that's where Win2000 | ||
| 19 | * puts it. | ||
| 20 | */ | ||
| 21 | + name = NULL; | ||
| 22 | if (dns_message_findname(msg, DNS_SECTION_ANSWER, qname, | ||
| 23 | dns_rdatatype_tkey, 0, &name, | ||
| 24 | &tkeyset) != ISC_R_SUCCESS) { | ||
diff --git a/meta/recipes-connectivity/bind/bind_9.9.5.bb b/meta/recipes-connectivity/bind/bind_9.9.5.bb index e34cdedde7..9f0ab2ff67 100644 --- a/meta/recipes-connectivity/bind/bind_9.9.5.bb +++ b/meta/recipes-connectivity/bind/bind_9.9.5.bb | |||
| @@ -21,6 +21,7 @@ SRC_URI = "ftp://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.gz \ | |||
| 21 | file://bind-add-crosscripts-search-path-for-xml2-config.patch \ | 21 | file://bind-add-crosscripts-search-path-for-xml2-config.patch \ |
| 22 | file://bind-subdirs-run-serially.patch \ | 22 | file://bind-subdirs-run-serially.patch \ |
| 23 | file://bind-confgen-build-unix.o-once.patch \ | 23 | file://bind-confgen-build-unix.o-once.patch \ |
| 24 | file://cve-2015-5477.patch \ | ||
| 24 | " | 25 | " |
| 25 | 26 | ||
| 26 | SRC_URI[md5sum] = "e676c65cad5234617ee22f48e328c24e" | 27 | SRC_URI[md5sum] = "e676c65cad5234617ee22f48e328c24e" |
