diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-01-18 12:15:15 -0500 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-01-21 13:39:28 -0500 |
commit | f2f23a5c2a4ddae7aa93c759a94232456d57e327 (patch) | |
tree | 50b1e6792ae53a842d7a21f5e4afa6254d06122a /recipes/iputils/files/CVE-2010-2529.patch | |
parent | ca83d2d3992943a48ae2e86a61b287e46c2b1fb7 (diff) | |
download | openembedded-f2f23a5c2a4ddae7aa93c759a94232456d57e327.tar.gz |
iputils: apply patch for CVE-2010-2529
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'recipes/iputils/files/CVE-2010-2529.patch')
-rw-r--r-- | recipes/iputils/files/CVE-2010-2529.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes/iputils/files/CVE-2010-2529.patch b/recipes/iputils/files/CVE-2010-2529.patch new file mode 100644 index 0000000000..50367000cb --- /dev/null +++ b/recipes/iputils/files/CVE-2010-2529.patch @@ -0,0 +1,34 @@ +From b2dda4bbaa44ea296f1d75acc64cace221935d0d Mon Sep 17 00:00:00 2001 +From: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> +Date: Wed, 6 Oct 2010 20:38:42 +0900 +Subject: [PATCH] ping: Fix resource consumption triggered by specially crafted ICMP Echo Reply (CVE-2010-2529) + +Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> +--- + ping.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ping.c b/ping.c +index 4472d77..eacb29d 100644 +--- a/ping.c ++++ b/ping.c +@@ -1032,7 +1032,7 @@ void pr_options(unsigned char * cp, int hlen) + i = j; + i -= IPOPT_MINOFF; + if (i <= 0) +- continue; ++ break; + if (i == old_rrlen + && !strncmp((char *)cp, old_rr, i) + && !(options & F_FLOOD)) { +@@ -1069,7 +1069,7 @@ void pr_options(unsigned char * cp, int hlen) + i = j; + i -= 5; + if (i <= 0) +- continue; ++ break; + flags = *++cp; + printf("\nTS: "); + cp++; +-- +1.7.2.3 |