commit | 694e9732a044d547862a890c030ee486d9cbd832 | [log] [tgz] |
---|---|---|
author | Frederick Mayle <fmayle@google.com> | Fri Jul 15 00:24:58 2022 +0000 |
committer | Frederick Mayle <fmayle@google.com> | Fri Jul 15 21:10:15 2022 +0000 |
tree | c3b3d3ba14e4d0c7fa29c96b2d033d25a92c92b8 | |
parent | 53b6ffe5af3951e8784c451ef8c4ff19f3d6b196 [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