[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 4 Apr 2019 22:14:20 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Timur Tabi <timur@...escale.com>, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org,
Mihai Caraman <mihai.caraman@...escale.com>,
Kumar Gala <galak@...nel.crashing.org>
Subject: Re: [PATCH 1/2] fsl_hypervisor: dereferencing error pointers in ioctl
On Thu, Apr 04, 2019 at 12:10:44PM -0700, Andrew Morton wrote:
> On Tue, 18 Dec 2018 11:20:03 +0300 Dan Carpenter <dan.carpenter@...cle.com> wrote:
>
> > The strndup_user() function returns error pointers on error, and then
> > in the error handling we pass the error pointers to kfree(). It will
> > cause an Oops.
> >
>
> Looks good to me.
>
> I guess we should fix this too?
>
I didn't notice that. Thanks!
regards,
dan carpenter
Powered by blists - more mailing lists