Skip to content
Commit aecad126 authored by Javier Almansa Sobrino's avatar Javier Almansa Sobrino Committed by Soby Mathew
Browse files

fix(granules): granule_addr() did not detect a misaligned address



granule_addr() API on the granule module of the realm library should
cause an assertion failure when the struct granule address pointer
received as parameter is not properly aligned.

This patch also adds the proper unittest to verify the condition.

Signed-off-by: Javier Almansa Sobrino's avatarJavier Almansa Sobrino <javier.almansasobrino@arm.com>
Change-Id: I49df885af5dc346c33c04bc88fcdc1db36f75fcd
parent 1f8a8c0b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment