[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BANLkTik_O2QvXqeY03NU3xP1q0=Dqco6Eg@mail.gmail.com>
Date: Fri, 3 Jun 2011 21:47:27 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: Timur Tabi <timur@...escale.com>
Cc: alan@...rguk.ukuu.org.uk, linux-kernel@...r.kernel.org,
scottwood@...escale.com, akpm@...ux-foundation.org
Subject: Re: [PATCH] lib: introduce strdup_from_user
On Fri, Jun 3, 2011 at 9:41 PM, Timur Tabi <timur@...escale.com> wrote:
> Alexey Dobriyan wrote:
>> The point is data should cross kernelspace/userspace boundary only once.
>
> And my new version does that. I'm just asking if you're okay with it.
It leaks first allocation if second one fails.
Come on.
Show you user in driver, maybe what we're discussing is moot.
--
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