diff options
author | Sona Sarmadi <sona.sarmadi@enea.com> | 2016-11-15 10:08:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 13:14:20 +0100 |
commit | 384801e82724e81d13f982e86c8aa8738db235c7 (patch) | |
tree | a787328d411121b6e7d9feeb10f37a0ce009089f /meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch | |
parent | 5c9148ff6acd96fd20ca989e74edccba186dad17 (diff) | |
download | poky-384801e82724e81d13f982e86c8aa8738db235c7.tar.gz |
curl: CVE-2016-8625
IDNA 2003 makes curl use wrong host
Affected versions: curl 7.12.0 to and including 7.50.3
Reference:
https://curl.haxx.se/docs/adv_20161102K.html
(From OE-Core rev: bf8d4e9c8a7fed4e190d600a6a26d314d4b15a08)
Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch')
-rw-r--r-- | meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch b/meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch new file mode 100644 index 0000000000..3549101020 --- /dev/null +++ b/meta/recipes-support/curl/curl/url-remove-unconditional-idn2.h-include.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From c27013c05d99d92370b57e1a7af1b854eef4e7c1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daniel Stenberg <daniel@haxx.se> | ||
3 | Date: Mon, 31 Oct 2016 09:49:50 +0100 | ||
4 | Subject: [PATCH] url: remove unconditional idn2.h include | ||
5 | |||
6 | Mistake brought by 9c91ec778104a [fix to CVE-2016-8625] | ||
7 | Upstream-Status: Backport | ||
8 | |||
9 | Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> | ||
10 | --- | ||
11 | lib/url.c | 2 -- | ||
12 | 1 file changed, 2 deletions(-) | ||
13 | |||
14 | diff --git a/lib/url.c b/lib/url.c | ||
15 | index c90a1c5..b997f41 100644 | ||
16 | --- a/lib/url.c | ||
17 | +++ b/lib/url.c | ||
18 | @@ -67,8 +67,6 @@ | ||
19 | bool curl_win32_idn_to_ascii(const char *in, char **out); | ||
20 | #endif /* USE_LIBIDN2 */ | ||
21 | |||
22 | -#include <idn2.h> | ||
23 | - | ||
24 | #include "urldata.h" | ||
25 | #include "netrc.h" | ||
26 | |||
27 | -- | ||
28 | 1.9.1 | ||
29 | |||