[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHUa44ErR1Hw=5qbUGEqz-_VL1fh6sTAoVLEWK23dHE8O8sQfA@mail.gmail.com>
Date: Fri, 22 Feb 2019 09:09:42 +0100
From: Jens Wiklander <jens.wiklander@...aro.org>
To: Sumit Garg <sumit.garg@...aro.org>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
Linux ARM <linux-arm-kernel@...ts.infradead.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH -next] tee: fix possible error pointer ctx dereferencing
Hi,
On Wed, Feb 20, 2019 at 7:02 AM Sumit Garg <sumit.garg@...aro.org> wrote:
>
> Add check for valid ctx pointer and then only dereference ctx to
> configure supp_nowait flag.
>
> Fixes: 42bf4152d8a7 ("tee: add supp_nowait flag in tee_context struct")
> Reported-by: Dan Carpenter <dan.carpenter@...cle.com>
> Signed-off-by: Sumit Garg <sumit.garg@...aro.org>
> ---
> drivers/tee/tee_core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
I see that Arnd picked this one up the arm/drivers branch too. Thanks
for the help Arnd!
Cheers,
Jens
Powered by blists - more mailing lists