Contents of /trunk/kernel26-alx/patches-2.6.24-r2/0101-2.6.24.2-all-fixes.patch
Parent Directory | Revision Log
Revision 652 -
(show annotations)
(download)
Sun Jun 22 12:19:22 2008 UTC (16 years, 3 months ago) by niro
File size: 331 byte(s)
Sun Jun 22 12:19:22 2008 UTC (16 years, 3 months ago) by niro
File size: 331 byte(s)
2.6.24-alx-r2: -added patch to strip all debugging symbols resulting in a much smaller kernel -enabled this option in Kconfig
1 | diff --git a/fs/splice.c b/fs/splice.c |
2 | index 36fdc61..e313478 100644 |
3 | --- a/fs/splice.c |
4 | +++ b/fs/splice.c |
5 | @@ -1239,7 +1239,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 | /* |