qcom-charger: msm_bcl: fix out of bounds array access
param_type is used for array access before the boundary check. Check the
boundary before using param_type.
Signed-off-by:
Nicholas Troast <ntroast@codeaurora.org>
Change-Id: I3d1fb4ada3182c533e5b937717962dc513837e78
Loading
Please register or sign in to comment