[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080831144427.GC2884@lenovo>
Date: Sun, 31 Aug 2008 18:44:27 +0400
From: Cyrill Gorcunov <gorcunov@...il.com>
To: Ingo Oeser <ioe-lkml@...eria.de>,
LKML <linux-kernel@...r.kernel.org>,
Vegard Nossum <vegard.nossum@...il.com>, bfields@...ldses.org,
neilb@...e.de
Subject: Re: [PATCH] sunrpc - fixup userspace buffer possible overrun v2
[Cyrill Gorcunov - Sun, Aug 31, 2008 at 06:41:29PM +0400]
| [Ingo Oeser - Sun, Aug 31, 2008 at 04:09:10PM +0200]
| | Hi Cyrill,
| |
| | On Sunday 31 August 2008, Cyrill Gorcunov wrote:
| | > The conclusion is that proc_do_xprt doesn't check for userside buffer
| | > size indeed so fix. Also set lenp to number of bytes were really written.
| |
| | Why not use simple_read_from_buffer() for the read case and
| | keep the -EINVAL for the write case.
|
| Ah, thanks Ingo - good idea. Btw does libfs.c depends
| on anything?
|
...
yes, it's always compiled in.
- Cyrill -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists