commit | 381794fc97db106ee4e47f711c7adcd156260685 | [log] [tgz] |
---|---|---|
author | Zhenlin Lian <quic_zlian@quicinc.com> | Tue Aug 09 14:20:58 2022 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Wed Nov 02 00:11:13 2022 -0700 |
tree | 9a7dffc38a47e5d8990a2207cd455ad575609b4b | |
parent | 4ae72025dbd96ff5ff34d2e8aa2fea23f45498ee [diff] |
hal: Initialize keep alive list before clearing if wrong state When the keep alive state is incorrect the list is not initialized before calling this. Move list initialization up to avoid a null pointer dereference crash when this happens. Change-Id: Id530a11c3d0fcad2efa6247f1adbd3f7283921a9