]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
removed a patch from the queue that wasn't needed
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 Mar 2007 04:05:22 +0000 (21:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 20 Mar 2007 04:05:22 +0000 (21:05 -0700)
review-2.6.20/fix-user-copy-length-in-ipv6_sockglue.c.patch [deleted file]
review-2.6.20/series

diff --git a/review-2.6.20/fix-user-copy-length-in-ipv6_sockglue.c.patch b/review-2.6.20/fix-user-copy-length-in-ipv6_sockglue.c.patch
deleted file mode 100644 (file)
index 4a5b0cd..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From stable-bounces@linux.kernel.org Fri Mar  9 23:07:24 2007
-From: Chris Wright <chrisw@sous-sol.org>
-Date: Fri, 09 Mar 2007 23:05:59 -0800 (PST)
-Subject: Fix user copy length in ipv6_sockglue.c
-To: stable@kernel.org
-Cc: bunk@stusta.de
-Message-ID: <20070309.230559.78709619.davem@davemloft.net>
-
-From: Chris Wright <chrisw@sous-sol.org>
-
-[IPV6] fix ipv6_getsockopt_sticky copy_to_user leak
-
-User supplied len < 0 can cause leak of kernel memory.
-Use unsigned compare instead.
-
-Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-Signed-off-by: David S. Miller <davem@davemloft.net>
-Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-
----
- net/ipv6/ipv6_sockglue.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/net/ipv6/ipv6_sockglue.c
-+++ b/net/ipv6/ipv6_sockglue.c
-@@ -805,7 +805,7 @@ static int ipv6_getsockopt_sticky(struct
-               return 0;
-       hdr = opt->hopopt;
--      len = min_t(int, len, ipv6_optlen(hdr));
-+      len = min_t(unsigned int, len, ipv6_optlen(hdr));
-       if (copy_to_user(optval, hdr, ipv6_optlen(hdr)))
-               return -EFAULT;
-       return len;
index 93854009e0e68db41838e6a068c919d276084ed3..a4bae5910efc500782a7f3b966c0ed903dc7aac5 100644 (file)
@@ -1,6 +1,5 @@
 fix-another-null-pointer-deref-in-ipv6_sockglue.c.patch
 fix-rtm_to_ifaddr-error-return.patch
-fix-user-copy-length-in-ipv6_sockglue.c.patch
 SCSI-gdth-fix-oops-in-gdth_copy_cmd.patch
 netlabel-cipso_std_bug
 netfilter-nfnetlink_log-fix-reference-counting.patch