commit | af3b9390df1e726d19d05376772ba9409040882b | [log] [tgz] |
---|---|---|
author | Xin Li <delphij@google.com> | Thu Sep 05 17:03:09 2024 -0700 |
committer | Xin Li <delphij@google.com> | Thu Sep 05 17:03:09 2024 -0700 |
tree | 979e1da2bbd16c6c42ce476796954c5481c452ab | |
parent | 29464e917d2dfca642cf6d6c50a1c5078e3ec87d [diff] | |
parent | 00f0e3f2f74863fc4160e3ea75f5402411726d9e [diff] |
Merge 24Q3 to AOSP main Bug: 357762254 Merged-In: I3ed83b9356f05307eb051b97c1327ad1974e8578 Change-Id: Ibbf591e1cec3d52d438e5a3502bfb3f436921086
diff --git a/src/main.cpp b/src/main.cpp index 69ed3b9..a69f228 100644 --- a/src/main.cpp +++ b/src/main.cpp
@@ -180,7 +180,7 @@ static int handle_msg(handle_t chan, uint32_t req_len, struct chan_ctx* ctx) { int rc; uint8_t msg[CONFIRMATIONUI_MAX_MSG_SIZE]; - uint32_t resp_len = sizeof(msg); + uint32_t resp_len = ctx->shm_len; struct confirmationui_hdr hdr; struct confirmationui_msg_args args;