summaryrefslogtreecommitdiff
path: root/libs/binder/RpcState.cpp
diff options
context:
space:
mode:
author Frederick Mayle <fmayle@google.com> 2022-07-15 00:24:58 +0000
committer Frederick Mayle <fmayle@google.com> 2022-07-15 21:10:15 +0000
commit694e9732a044d547862a890c030ee486d9cbd832 (patch)
treec3b3d3ba14e4d0c7fa29c96b2d033d25a92c92b8 /libs/binder/RpcState.cpp
parent53b6ffe5af3951e8784c451ef8c4ff19f3d6b196 (diff)
libbinder: Validate the RPC object positions immediately
We already check the bounds when they are used, but it is easier to reason about the code if they are validated before being stored. The `freeData` call was redundant (handled by dtor). Test: TH Change-Id: I5160e72b5225b933068a3aa68eb5287bf7a29af1
Diffstat (limited to 'libs/binder/RpcState.cpp')
0 files changed, 0 insertions, 0 deletions