Files
android_kernel_xiaomi_sm8450/kernel/msm_sysstats.c
Faiyaz Mohammed 29b115b6b9 msm-sysstats: check the return value of nla_strdup_cust
Static code analyser pointed derefrence of comm pointer returned by
nla_strdup_cust() without doing null pointer check. Adding check the
return value of nla_strdup_cust, before doing the strcmp.

Change-Id: Ia55ced8a64459b2c86a64a98ef09ba4a642799eb
Signed-off-by: Faiyaz Mohammed <quic_faiyazm@quicinc.com>
2022-05-02 11:33:19 +05:30

16 KiB