commit | 53d311cfa19ad35beba74d706effee02c86d198f | [log] [tgz] |
---|---|---|
author | Todd Kjos <tkjos@android.com> | Thu Jun 29 12:01:51 2017 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 17 14:47:29 2017 +0200 |
tree | 669eb2b29fbf3b3c0dd24e8eb16212017eb0f24d | |
parent | e4cffcf4bf8b540e150c311e70559d735cc95358 [diff] |
binder: protect against two threads freeing buffer Adds protection against malicious user code freeing the same buffer at the same time which could cause a crash. Cannot happen under normal use. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>