Magellan Linux

Contents of /trunk/kernel26-alx/patches-2.6.23-r1/0115-2.6.23.16-all-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658 - (show annotations) (download)
Mon Jun 23 21:39:39 2008 UTC (15 years, 10 months ago) by niro
File size: 331 byte(s)
2.6.23-alx-r1: new default as we fix the via epia clocksource=tsc quircks
-linux-2.6.23.17
-fbcondecor-0.9.4
-squashfs-3.3
-unionfs-2.3.3
-ipw3945-1.2.2
-mptbase-vmware fix

1 diff --git a/fs/splice.c b/fs/splice.c
2 index 2aa8f5a..1a9c0e6 100644
3 --- a/fs/splice.c
4 +++ b/fs/splice.c
5 @@ -1289,7 +1289,7 @@ static int get_iovec_page_array(const struct iovec __user *iov,
6 if (unlikely(!len))
7 break;
8 error = -EFAULT;
9 - if (unlikely(!base))
10 + if (!access_ok(VERIFY_READ, base, len))
11 break;
12
13 /*