commit | b4cb70df1b3a1749f3a24cd5636c97fac6cbf993 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Mon Mar 18 14:14:35 2024 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Mar 18 14:17:15 2024 -0700 |
tree | 7a4893d611ee3739147f8fb9f4be1abe0e85ae65 | |
parent | 30ad90f3ece4796c7493af9cbd6a83ab3d520d55 [diff] |
lshal: Fix empty hidl_array access. Fix this error: Abort message: 'Check failed: bytes != nullptr || len == 0 0x0 32' This bug is introduced by the change below. !hashRet.isOk() should have a break; in it like the other error cases. The change below added this code after the error which used to be the end of the statement. Bug: 329190736 Fixes: b670dd7e0c1562db ("lshal: Fix mem invalid access (timeoutIPC callers)") Test: TH Change-Id: Iada52b2ca033105962727fcccf651fbb5bdd5736