Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1717962

Re: [PATCH] android: binder: check result of binder_get_thread() in binder_poll()

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] android: binder: check result of binder_get_thread() in binder_poll()
Date 2017-08-23 04:00 +0200
Message-ID <uht7z-2oU-13@gated-at.bofh.it> (permalink)
References <tEXLs-ls-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@gmail.com>
> Reviewed-by: Douglas Anderson <dianders@chromium.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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] android: binder: check result of binder_get_thread() in  binder_poll() Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-08-23 04:00 +0200

csiph-web