[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170823015015.GA18140@kroah.com>
Date: Tue, 22 Aug 2017 18:50:15 -0700
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Arve Hjønnevåg <arve@...roid.com>,
Riley Andrews <riandrews@...roid.com>,
Martijn Coenen <maco@...gle.com>,
John Stultz <john.stultz@...aro.org>,
Douglas Anderson <dianders@...omium.org>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] android: binder: check result of binder_get_thread() in
binder_poll()
On Mon, May 08, 2017 at 01:43:23PM -0700, Dmitry Torokhov wrote:
> If binder_get_thread() fails to give us a thread data, we should avoid
> dereferencing a NULL pointer and return POLLERR instead.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
> Reviewed-by: Douglas Anderson <dianders@...omium.org>
> ---
> drivers/android/binder.c | 12 ++++++++----
> 1 file changed, 8 insertions(+), 4 deletions(-)
Doesn't apply to my tree at all :(
Please rebase and resend, thanks.
greg k-h
Powered by blists - more mailing lists