Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b8ff7d0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "hal : Validate input to fix NULL check error" into audio-userspace.lnx.2.2-dev

parents d18d883e 76bb863b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1824,7 +1824,7 @@ static bool check_and_get_wsa_info(char *snd_card_name, int *wsaCount,
    int wsa_count = 0;

    /* SL/SH hardware always has wsa by default, no need to add wsa */
    if(!strncmp(snd_card_name, "sdm660", strlen("sdm660"))) {
    if(snd_card_name && !strncmp(snd_card_name, "sdm660", strlen("sdm660"))) {
        ALOGD(" Ignore WSA extension for sdm 660 varients");
        return false;
    }