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

Commit 491af639 authored by Shiraz Hashim's avatar Shiraz Hashim Committed by Gerrit - the friendly Code Review server
Browse files

msm: ADSPRPC: Fix array out of bounds issue



Array is being accessed out of bounds. Fix this.

Change-Id: I2e108099bc7ac262050f76375169c37e2b663e21
Signed-off-by: default avatarShiraz Hashim <shashim@codeaurora.org>
parent 2cbcc095
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2154,7 +2154,7 @@ static int fastrpc_munmap_on_dsp_rh(struct fastrpc_file *fl,
	if (map->flags == ADSP_MMAP_HEAP_ADDR) {
		struct fastrpc_ioctl_invoke_crc ioctl;
		struct scm_desc desc = {0};
		remote_arg_t ra[1];
		remote_arg_t ra[2];
		int err = 0;
		struct {
			uint8_t skey;