Re: [PATCH] android: binder: fixup crash introduced by moving buffer hdr
From: Greg KH
Date: Fri Sep 01 2017 - 02:52:33 EST
On Thu, Aug 31, 2017 at 10:26:06AM -0700, Sherry Yang wrote:
> Fix crash introduced by 74310e06be4d74dcf67cd108366710dee5c576d5
> (android: binder: Move buffer out of area shared with user space)
> when close is called after open without mmap in between.
>
> Signed-off-by: Sherry Yang <sherryy@xxxxxxxxxxx>
> ---
> drivers/android/binder_alloc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
In the future, please include a "Reported-by:" tag that shows who
reported the issue, and a Fixes: tag with the info for what commit this
fixes.
And no need to give the full sha1, you can shorten it, this is the
standard for kernel commit:
74310e06be4d ("android: binder: Move buffer out of area shared with user space")
I'll edit this patch up with that info, but in the future, please do
this yourself.
thanks,
greg k-h