]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): error handling in allocation
authorvallau01 <valentin.laurent@trustonic.com>
Tue, 9 Aug 2022 16:03:28 +0000 (18:03 +0200)
committerLukas Hanel <lukas.hanel@trustonic.com>
Wed, 2 Nov 2022 14:15:59 +0000 (15:15 +0100)
commitcee8bb3b38ea266a5008719548965352ec695cae
tree75c75a98f611b476ee27fab8f2c7fb2b95b34012
parentac568b2bccb9da71f2bd7f1c7204189d1ff678d9
fix(el3-spmc): error handling in allocation

Error check must be done on the previously allocated pointer, not a
random one from the code.

Change-Id: I1c8253eacbe778cc4a9a8d71081fc615fa7e5293
Signed-off-by: Lukas Hanel <lukas.hanel@trustonic.com>
services/std_svc/spm/el3_spmc/spmc_shared_mem.c