mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
The on-stack th_vi_v_vali struct is not fully initialized by afe_get_sp_th_vi_v_vali_data(), leaving members of the th_vi_v_vali struct used despite not being initialized. Fix it by zeroing out the memory in afe_get_sp_th_vi_v_vali_data(). Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com> Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com> Signed-off-by: Forenche <prahul2003@gmail.com> Signed-off-by: azrim <mirzaspc@gmail.com>