Loading libs/binder/trusty/RpcServerTrusty.cpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -151,8 +151,10 @@ int RpcServerTrusty::handleMessage(const tipc_port* /*port*/, handle_t /*chan*/, int RpcServerTrusty::handleMessageInternal(void* ctx) { int RpcServerTrusty::handleMessageInternal(void* ctx) { auto* channelContext = reinterpret_cast<ChannelContext*>(ctx); auto* channelContext = reinterpret_cast<ChannelContext*>(ctx); LOG_ALWAYS_FATAL_IF(channelContext == nullptr, if (channelContext == nullptr) { "bad state: message received on uninitialized channel"); LOG_RPC_DETAIL("bad state: message received on uninitialized channel"); return ERR_BAD_STATE; } auto& session = channelContext->session; auto& session = channelContext->session; auto& connection = channelContext->connection; auto& connection = channelContext->connection; Loading Loading
libs/binder/trusty/RpcServerTrusty.cpp +4 −2 Original line number Original line Diff line number Diff line Loading @@ -151,8 +151,10 @@ int RpcServerTrusty::handleMessage(const tipc_port* /*port*/, handle_t /*chan*/, int RpcServerTrusty::handleMessageInternal(void* ctx) { int RpcServerTrusty::handleMessageInternal(void* ctx) { auto* channelContext = reinterpret_cast<ChannelContext*>(ctx); auto* channelContext = reinterpret_cast<ChannelContext*>(ctx); LOG_ALWAYS_FATAL_IF(channelContext == nullptr, if (channelContext == nullptr) { "bad state: message received on uninitialized channel"); LOG_RPC_DETAIL("bad state: message received on uninitialized channel"); return ERR_BAD_STATE; } auto& session = channelContext->session; auto& session = channelContext->session; auto& connection = channelContext->connection; auto& connection = channelContext->connection; Loading