diff options
Diffstat (limited to 'meta/recipes-support/gnutls/gnutls/CVE-2015-6251.patch')
-rw-r--r-- | meta/recipes-support/gnutls/gnutls/CVE-2015-6251.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-support/gnutls/gnutls/CVE-2015-6251.patch b/meta/recipes-support/gnutls/gnutls/CVE-2015-6251.patch deleted file mode 100644 index 5a29a9671e..0000000000 --- a/meta/recipes-support/gnutls/gnutls/CVE-2015-6251.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 272854367efc130fbd4f1a51840d80c630214e12 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nikos Mavrogiannopoulos <nmav@gnutls.org> | ||
3 | Date: Mon, 20 Jul 2015 21:49:28 +0200 | ||
4 | Subject: [PATCH] Reset the output value on error in _gnutls_x509_dn_to_string() | ||
5 | |||
6 | Fixes CVE-2015-6251. | ||
7 | Upstream-Status: Backport | ||
8 | |||
9 | Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> | ||
10 | --- | ||
11 | lib/x509/common.c | 1 + | ||
12 | 1 file changed, 1 insertion(+), 0 deletions(-) | ||
13 | |||
14 | diff --git a/lib/x509/common.c b/lib/x509/common.c | ||
15 | index 94b6bbc..9a4b96f 100644 | ||
16 | --- a/lib/x509/common.c | ||
17 | +++ b/lib/x509/common.c | ||
18 | @@ -469,6 +469,7 @@ _gnutls_x509_dn_to_string(const char *oid, void *value, | ||
19 | if (ret < 0) { | ||
20 | gnutls_assert(); | ||
21 | gnutls_free(str->data); | ||
22 | + str->data = NULL; | ||
23 | return ret; | ||
24 | } | ||
25 | str->size = size; | ||
26 | -- | ||
27 | libgit2 0.23.4 | ||