Diff between 84a8ca8d818a857fa408b89a63c96136330445cd and bee4fe3c787118f3e20b152484ee68b613065bfc
Changed Files
| File | Additions | Deletions | Status |
| android/ipc.c | +1 | -1 | modified |
Full Patch
diff --git a/android/ipc.c b/android/ipc.c
index a31d315..ed3ef3c 100644
--- a/android/ipc.c
+++ b/android/ipc.c
@@ -82,7 +82,7 @@ int ipc_handle_msg(struct service_handler *handlers, size_t max_index,
}
/* opcode is table offset + 1 */
- handler = &services[msg->service_id].handler[msg->opcode - 1];
+ handler = &handlers[msg->service_id].handler[msg->opcode - 1];
/* if payload size is valid */
if ((handler->var_len && handler->data_len > msg->len) ||