summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTodd Kjos <tkjos@android.com>2017-06-29 12:02:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-17 14:48:24 +0200
commit5f2f63696c552081bc90fb0ef80c94def33ba421 (patch)
treea6c978d72bd33ee727ad7bde2716883d02a7c6eb /arch
parent2c1838dc6817dd28cf24ba0c57cc8693be9bbfc5 (diff)
downloadlinux-5f2f63696c552081bc90fb0ef80c94def33ba421.tar.bz2
binder: protect against stale pointers in print_binder_transaction
When printing transactions there were several race conditions that could cause a stale pointer to be deferenced. Fixed by reading the pointer once and using it if valid (which is safe). The transaction buffer also needed protection via proc lock, so it is only printed if we are holding the correct lock. Signed-off-by: Todd Kjos <tkjos@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions