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

Commit 079eddb8 authored by Arun Menon's avatar Arun Menon
Browse files

msm: vidc: Fix out of bound read access in packetization



While sending config realtime property to firmware, there
is an out of bound read access because a bool variable is
cast to u32 and read. This change fixes the same.

Change-Id: I7960ea9becdf463fbfdc5e721890c5a2fa4a82a7
Signed-off-by: default avatarArun Menon <avmenon@codeaurora.org>
parent 854262df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1023,7 +1023,7 @@ int create_pkt_cmd_session_set_property(
	{
		create_pkt_enable(pkt->rg_property_data,
			HFI_PROPERTY_CONFIG_REALTIME,
			(((struct hfi_enable *) pdata)->enable));
			(((struct hal_enable *) pdata)->enable));
		pkt->size += sizeof(u32) * 2;
		break;
	}