msm: ipa5: avoid NULL access in qmi_send_req_wait
Avoiding NULL ptr access in ipa3_qmi_send_req_wait function. Change-Id: I24e9650acfc210868a759a4d964023eebfc9d2d2 Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
Este cometimento está contido em:
@@ -473,6 +473,8 @@ static int ipa3_qmi_send_req_wait(struct qmi_handle *client_handle,
|
||||
struct qmi_txn txn;
|
||||
int ret;
|
||||
|
||||
if (!client_handle)
|
||||
return -EINVAL;
|
||||
ret = qmi_txn_init(client_handle, &txn, resp_desc->ei_array, resp);
|
||||
|
||||
if (ret < 0) {
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador