commit | af2a9811569299c7b037c3ca4157275ad7b35c11 | [log] [tgz] |
---|---|---|
author | Aniket Kumar Lata <alata@codeaurora.org> | Thu Mar 26 22:37:07 2020 -0700 |
committer | Aniket Kumar Lata <alata@codeaurora.org> | Fri Mar 27 10:40:55 2020 -0700 |
tree | ec93712f0b31d2a779db9694990c91573c59773c | |
parent | 20c978addc2274854aac45e8c3f94884dc82024e [diff] |
hal: Fix use-after-free in clear_devices For removing and freeing objects during list iteration, use list_for_each_safe which prevents use-after-free vulnerability. CRs-Fixed: 2648712 Change-Id: Ibecc08e16f009feb585f510a7b0cc3bb8957897b