login
Header Space

 
 

Re: Linux 2.6.22.18

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>, Andrew Morton <akpm@...>, <torvalds@...>, <stable@...>
Date: Monday, February 11, 2008 - 3:43 am

diff --git a/Makefile b/Makefile
index 6a949eb..99c5e87 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 22
-EXTRAVERSION = .17
+EXTRAVERSION = .18
 NAME = Holy Dancing Manatees, Batman!
 
 # *DOCUMENTATION*
diff --git a/fs/splice.c b/fs/splice.c
index e263d3b..dbbe267 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -1182,6 +1182,9 @@ static int get_iovec_page_array(const struct iovec __user *iov,
 		if (unlikely(!base))
 			break;
 
+		if (!access_ok(VERIFY_READ, base, len))
+			break;
+
 		/*
 		 * Get this base offset and number of pages, then map
 		 * in the user pages.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Linux 2.6.22.18, Greg Kroah-Hartman, (Mon Feb 11, 3:43 am)
Re: Linux 2.6.22.18, Greg Kroah-Hartman, (Mon Feb 11, 3:43 am)
Re: Linux 2.6.22.18, Matthew Keenan, (Mon Feb 11, 7:31 am)
Re: Linux 2.6.22.18, Linus Torvalds, (Mon Feb 11, 12:32 pm)
Re: Linux 2.6.22.18, Greg KH, (Mon Feb 11, 11:45 am)
Re: Linux 2.6.22.18, Florian Weimer, (Tue Feb 12, 1:48 pm)
Re: Linux 2.6.22.18, Greg KH, (Tue Feb 12, 1:50 pm)
speck-geostationary