]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): fix detection of overlapping memory regions
authorMarc Bonnici <marc.bonnici@arm.com>
Tue, 18 Oct 2022 12:50:04 +0000 (13:50 +0100)
committerJoanna Farley <joanna.farley@arm.com>
Mon, 7 Nov 2022 13:39:26 +0000 (14:39 +0100)
commit0dc35186669ddaedb3a932e103c3976bc3bf75d6
treea3660d70ed6eb98281fc06754cda61519a761ddd
parentc4adbe6e67617bb2d4f0ffb1c1daa3395f7ac227
fix(el3-spmc): fix detection of overlapping memory regions

The current logic does not cover all scenarios of overlapping
memory regions. Update the implementation to verify non-overlapping
regions instead. Reported by Matt Oh, Google Android Red Team.

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