diff options
| author | 2024-07-08 23:53:40 +0000 | |
|---|---|---|
| committer | 2024-11-02 03:10:49 +0000 | |
| commit | 5a8c69f8de8e48afccc8d87a2d5a2941f7033d24 (patch) | |
| tree | 593b4e4e92278fccc3bf556a4b03fc077374e897 /vulkan/libvulkan/api.cpp | |
| parent | be48640e4342f81e1129ef0bdb5264641ce60abb (diff) | |
libbinder: Return error instead of crashing on closed Trusty connection
If RpcServerTrusty rejects a client connection, it still receives
a few more messages. Since the connection was rejected, the internal
channel has not been initialized. Handle this corner case by returning
an ERR_BAD_STATE error code instead of a fatal crash so that Trusty
services do not crash after rejecting connections.
Bug: 242940548
Test: Presubmit
Change-Id: Ibb1445c26616a8c7e369d1fd7a3fb3602d6f2155
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions