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


Groups > linux.kernel > #1717962 > unrolled thread

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

Started byGreg Kroah-Hartman <gregkh@linuxfoundation.org>
First post2017-08-23 04:00 +0200
Last post2017-08-23 04:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  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

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

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-08-23 04:00 +0200
SubjectRe: [PATCH] android: binder: check result of binder_get_thread() in binder_poll()
Message-ID<uht7z-2oU-13@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web