netdev
[Top] [All Lists]

Re: [PATCH 1/5] tun check error on memcpy_fromiovec

To: maximilian attems <janitor@xxxxxxxxxxxxxx>
Subject: Re: [PATCH 1/5] tun check error on memcpy_fromiovec
From: Chris Wright <chrisw@xxxxxxxx>
Date: Fri, 16 Jan 2004 16:45:12 -0800
Cc: Chris Wright <chrisw@xxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20031219103457.GD1213@xxxxxxxxxxxxxxxxxxx>; from janitor@xxxxxxxxxxxxxx on Fri, Dec 19, 2003 at 11:34:58AM +0100
References: <20031208202302.C30587@xxxxxxxxxxxxxxxxxx> <20031219103457.GD1213@xxxxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
* maximilian attems (janitor@xxxxxxxxxxxxxx) wrote:
> hey chris,
> 
> after applying your 4 patches on top of linux-2.6.0 
> + experimental net, 
> found 2 last unchecked memcpy_fromiovec in tun.c
> patch bellow fixes the second call, 
> the first is beyond me, please complete this patch :)
> compile tested

I specifically left those alone.  They have a semi-bogus verify_area()
call that is trying to insure the memcpy_fromiovec won't EFAULT.  I'd
prefer to remove them and simply do memcpy checking.

thanks,
-chris
-- 
Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net

<Prev in Thread] Current Thread [Next in Thread>