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

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

Merge "mmc: cmdq_hci: Fix memcpy buffer overflow in cmdq task history"

parents 46befbff 87406391
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -684,7 +684,7 @@ static void cmdq_log_task_desc_history(struct cmdq_host *cq_host, u64 task,

	cq_host->thist[cq_host->thist_idx].is_dcmd = is_dcmd;
	memcpy(&cq_host->thist[cq_host->thist_idx++].task,
		&task, cq_host->task_desc_len);
		&task, sizeof(task));
}

static void cmdq_prep_dcmd_desc(struct mmc_host *mmc,