]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): fix location of fragment length check
authorMarc Bonnici <marc.bonnici@arm.com>
Tue, 18 Oct 2022 12:57:16 +0000 (13:57 +0100)
committerJoanna Farley <joanna.farley@arm.com>
Mon, 7 Nov 2022 13:39:33 +0000 (14:39 +0100)
commit21ed9ea32325fc556fa7e907e4995888bd3a3b45
tree7788626b4ba7e0e03a2e025bac9215876d6b99a5
parent0dc35186669ddaedb3a932e103c3976bc3bf75d6
fix(el3-spmc): fix location of fragment length check

Ensure that the fragment_length parameter is validated to prevent
a buffer overflow before it is used. Reported by Matt Oh, Google Android Red Team.

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