diff options
| author | Mahesh Sivasubramanian <msivasub@codeaurora.org> | 2017-11-28 10:06:17 -0700 |
|---|---|---|
| committer | Raghavendra Kakarla <rkakarla@codeaurora.org> | 2018-01-10 12:31:28 +0530 |
| commit | 5f3b521525689671f2925a49121d0abe28a0a398 (patch) | |
| tree | 82046ab2ad17c1f33d4e52c03217d103f49fdd81 /lib/mpi/mpi-internal.h | |
| parent | 55cc722ec6725f7547071a396606f6a04b9a75e8 (diff) | |
drivers: cpuidle: lpm-levels: Fix untrusted pointer dereference.
The list_for_each macro was not used correctly, where the intermediate
variable would be LIST_POISON, resulting in a untrusted pointer
dereference. Switch to using list_for_each_entry_safe to for safe
removal of a list entry.
Change-Id: I0e0fd5dd9f251b5093d6e9d6335387512ec59249
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
