]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): improve bound check for descriptor
authorMarc Bonnici <marc.bonnici@arm.com>
Tue, 18 Oct 2022 17:01:44 +0000 (18:01 +0100)
committerShruti Gupta <shruti.gupta@arm.com>
Thu, 8 Dec 2022 12:29:58 +0000 (12:29 +0000)
commitdef7590b3e34ff69b297c239cb8948d0bdc9c691
treedf02c282b211a438c41f90c1f2da9dfd66e0b9d8
parent825641d6150f05c1bcf6328ec726f46f2e9e37f9
fix(el3-spmc): improve bound check for descriptor

Ensure that there is sufficient space in the memory
descriptor to accommodate the size of the composite memory
struct as part of the descriptor.

Signed-off-by: Marc Bonnici <marc.bonnici@arm.com>
Change-Id: Iea646b144c59a2a1a171298cabb5f31040a8af31
services/std_svc/spm/el3_spmc/spmc_shared_mem.c