OSDN Git Service

Fix issue #27252896: Security Vulnerability -- weak binder
authorDianne Hackborn <hackbod@google.com>
Mon, 21 Mar 2016 17:36:54 +0000 (10:36 -0700)
committerDianne Hackborn <hackbod@google.com>
Mon, 21 Mar 2016 17:36:54 +0000 (10:36 -0700)
commitc11146106f94e07016e8e26e4f8628f9a0c73199
tree516ea4a2ced7d4492eb714583d867d21740400bb
parent891b1ce1decbeb80081f22513925c14c9c2015ec
Fix issue #27252896: Security Vulnerability -- weak binder

Sending transaction to freed BBinder through weak handle
can cause use of a (mostly) freed object.  We need to try to
safely promote to a strong reference first.

Change-Id: Ic9c6940fa824980472e94ed2dfeca52a6b0fd342
libs/binder/IPCThreadState.cpp