commit | 0c5f923dd68d31482741ca4b44bbec80eef2fe9d | [log] [tgz] |
---|---|---|
author | Stephen Crane <cranes@google.com> | Fri Jun 17 11:48:05 2022 -0700 |
committer | Stephen Crane <cranes@google.com> | Fri Jun 17 11:58:58 2022 -0700 |
tree | a017a3bbba130317a27be6a668708fedce7a50aa | |
parent | d05c0b93659d3880a6c4411e1352c9f1d750f2f1 [diff] |
libbinder_rs: Handle empty args list for dump transactions Previously we expected the args pointer passed to the handler for dump transactions to be non-null. If there are no arguments this pointer may be null and we should pass an empty args list instead of erroring out. Bug: 232887857 Test: atest -p frameworks/native/libs/binder Test: cts -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest#testDumpProtected Change-Id: If2b08c688a374913ef0913749efc72db07e7776f