diff options
Diffstat (limited to 'meta/recipes-core/busybox/busybox/CVE-2016-2147_2.patch')
-rw-r--r-- | meta/recipes-core/busybox/busybox/CVE-2016-2147_2.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox/CVE-2016-2147_2.patch b/meta/recipes-core/busybox/busybox/CVE-2016-2147_2.patch new file mode 100644 index 0000000000..1473d46035 --- /dev/null +++ b/meta/recipes-core/busybox/busybox/CVE-2016-2147_2.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 1b7c17391de66502dd7a97c866e0a33681edbb1f Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Vlasenko <vda.linux@googlemail.com> | ||
3 | Date: Fri, 11 Mar 2016 00:26:58 +0100 | ||
4 | Subject: [PATCH] udhcpc: fix a warning in debug code | ||
5 | |||
6 | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||
7 | Upsteam-Status: Backport | ||
8 | CVE: CVE-2016-2147 regression fix | ||
9 | |||
10 | https://git.busybox.net/busybox/commit/?id=1b7c17 | ||
11 | |||
12 | Signed-off-by: Armin Kuster <akuster@mvista.com> | ||
13 | |||
14 | --- | ||
15 | networking/udhcp/domain_codec.c | 1 + | ||
16 | 1 file changed, 1 insertion(+) | ||
17 | |||
18 | diff --git a/networking/udhcp/domain_codec.c b/networking/udhcp/domain_codec.c | ||
19 | index cee31f1..5a923cc 100644 | ||
20 | --- a/networking/udhcp/domain_codec.c | ||
21 | +++ b/networking/udhcp/domain_codec.c | ||
22 | @@ -7,6 +7,7 @@ | ||
23 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | ||
24 | */ | ||
25 | #ifdef DNS_COMPR_TESTING | ||
26 | +# define _GNU_SOURCE | ||
27 | # define FAST_FUNC /* nothing */ | ||
28 | # define xmalloc malloc | ||
29 | # include <stdlib.h> | ||
30 | -- | ||
31 | 2.3.5 | ||
32 | |||