login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
11
Re: Linux 2.6.22.18
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Greg KH <gregkh@...>
To: Matthew Keenan <matt@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, <torvalds@...>, <stable@...>
Subject:
Re: Linux 2.6.22.18
Date: Monday, February 11, 2008 - 11:45 am
On Mon, Feb 11, 2008 at 11:31:25AM +0000, Matthew Keenan wrote:
quoted text
> > On Sun, 2008-02-10 at 23:43 -0800, Greg Kroah-Hartman wrote: > > 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. > > Maybe I'm missing something here, but is there are reason that the patch > for 2.6.22 differs from 2.6.2[34]? The "if(unlikely(!base))" is removed > in the latter.
the logic is a little different in 2.6.22 and earlier in regards to this area of code. This way we are safer. thanks, greg k-h --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
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)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Bart Van Assche
Re: Integration of SCST in the mainstream Linux kernel
James Bottomley
Linux Foundation Technical Advisory Board Elections
Greg Kroah-Hartman
[PATCH 002/196] Chinese: rephrase English introduction in HOWTO
openbsd-misc
:
git
:
Sander
'struct task_struct' has no member named 'mems_allowed' (was: Re: 2.6.20-rc4-mm1)
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Colocation donated by:
Who's online
There are currently
2 users
and
779 guests
online.
Online users
zeekec
daniel.cregg
Syndicate