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

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

Merge "msm: npu: memset npu_kevent to prevent leak stack information"

parents 8bb1ac92 f0d1a0fa
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -730,6 +730,7 @@ static void app_msg_proc(struct npu_host_ctx *host_ctx, uint32_t *msg)
	struct npu_kevent kevt;
	struct npu_device *npu_dev = host_ctx->npu_dev;

	memset(&kevt, 0, sizeof(kevt));
	msg_id = msg[1];
	switch (msg_id) {
	case NPU_IPC_MSG_EXECUTE_DONE: