arm-trusted-firmware/services
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
..
arm_arch_svc fix(services): disable workaround discovery on aarch32 for now 2023-08-04 16:02:28 +02:00
oem/chromeos feat(cros_widevine): add ChromeOS widevine SMC handler 2024-02-02 16:41:21 +08:00
spd feat(cros_widevine): add ChromeOS widevine SMC handler 2024-02-02 16:41:21 +08:00
std_svc fix(el3-spmc): fix dangling pointer in FFA_CONSOLE_LOG 2024-02-14 17:53:24 +00:00