RPC Binder: acquire/release for Parcel receive
When a Parcel is an RPC RECEIVE'd Parcel, all objects are read whenever the Parcel is received in another process, and the map of the acquired objects is stored in RpcFields. If a Parcel object is read later, then it pulled from this list. If a Parcel object is using an old protocol version, since it hasn't been dropped yet, it will be acquired before it is read, so errors during unparceling can still cause leaks. Bug: 424526253 Test: binderRpcTest Flag: EXEMPT bug fix Change-Id: I17dc23288afb98dc3919459bc4c8f7449b783ca0
Loading
Please register or sign in to comment