arm-trusted-firmware/services/std_svc/spm
Karl Meakin 83129bcd8e fix(el3-spmc): fix dangling pointer in FFA_CONSOLE_LOG
Fixes a dangling pointer bug in `spmc_ffa_console_log`.
`chars` was assigned to an array which went out of scope at the end of
the `if`/`else` block.

The solution is to `memcmpy` from the temporary array into `chars`,
which is now an array.

Signed-off-by: Karl Meakin <karl.meakin@arm.com>
Change-Id: I67d19ea25d09b72f38fcc67dab4acf449aa8f1b1
2024-02-14 17:53:24 +00:00
..
common feat(spm): separate StMM SP specifics to add support for a S-EL0 SP 2023-10-12 11:40:24 +01:00
el3_spmc fix(el3-spmc): fix dangling pointer in FFA_CONSOLE_LOG 2024-02-14 17:53:24 +00:00
spm_mm feat(spm): separate StMM SP specifics to add support for a S-EL0 SP 2023-10-12 11:40:24 +01:00