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

Commit e904060a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: adsprpc: Handle UAF in process shell memory"

parents 17f07c01 51e05ee9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2701,6 +2701,8 @@ static int fastrpc_init_process(struct fastrpc_file *fl,
			err = fastrpc_mmap_create(fl, -1, 0, init->mem,
				 init->memlen, ADSP_MMAP_REMOTE_HEAP_ADDR,
				 &mem);
			if (mem)
				mem->is_filemap = true;
			mutex_unlock(&fl->map_mutex);
			if (err)
				goto bail;