]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): fix coverity scan warnings
authorShruti Gupta <shruti.gupta@arm.com>
Thu, 25 Aug 2022 13:22:53 +0000 (14:22 +0100)
committerShruti Gupta <shruti.gupta@arm.com>
Thu, 8 Dec 2022 12:30:10 +0000 (12:30 +0000)
commit1543d17b9876add1cb89c1f5ffe0e6a129f5809e
tree7df2a71b0e3ec51131e2b627d766eb00404dcace
parentdef7590b3e34ff69b297c239cb8948d0bdc9c691
fix(el3-spmc): fix coverity scan warnings

Validate emad descriptor integrity before accessing.
Check for NULL pointer access.

Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Change-Id: Id4ff3e5d88be95ca8d067378e344947880ec984b
bl32/tsp/ffa_helpers.c
bl32/tsp/tsp_ffa_main.c
services/std_svc/spm/el3_spmc/spmc_shared_mem.c