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

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

Merge "dsp: q6voice: Check size of payload before access" into audio-drivers.lnx.2.0.c7

parents 5ae26ba8 7d46ce83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8023,7 +8023,7 @@ static int32_t qdsp_cvp_callback(struct apr_client_data *data, void *priv)
	}

	if (data->opcode == APR_BASIC_RSP_RESULT) {
		if (data->payload_size) {
		if (data->payload_size >= (2 * sizeof(uint32_t))) {
			ptr = data->payload;

			pr_debug("%x %x\n", ptr[0], ptr[1]);