commit | d5d0c5500a97a411c34d27dc71dfd8f9d5787ffc | [log] [tgz] |
---|---|---|
author | Daniel Zheng <zhengdaniel@google.com> | Wed Oct 16 14:01:23 2024 -0700 |
committer | Daniel Zheng <zhengdaniel@google.com> | Wed Oct 16 14:04:19 2024 -0700 |
tree | 05191cbd24bf8c1dbe2de2cc4c45d6e1e7c6f533 | |
parent | cba986107beb7c893a9350c0f33068240252dc12 [diff] |
bootctl: pass cookie to death recipient On binder death, the cookie is the value that is passed to the death recipient. This value shouldn't be nullptr here since our onDeath() function expects an instance of BootControlClientAidl. If that doesn't exist, we have a null pointer dereference which will cause update_engine to crash. Bug: 369289491 Test: crash bootctl service Change-Id: I0bed4680c23b7d3516ed43aa566c4474962244fa