On 6/5/25 12:35 PM, Philippe Mathieu-Daudé wrote:
Eradicate alloca() uses on system code, then enable
-Walloca to prevent new ones to creep back in.
Philippe Mathieu-Daudé (4):
hw/gpio/pca9552: Avoid using g_newa()
backends/tpmL Avoid using g_alloca()
tests/unit/test-char: Avoid using g_alloca()
buildsys: Prohibit alloca() use on system code
meson.build | 4 ++++
backends/tpm/tpm_emulator.c | 4 ++--
hw/gpio/pca9552.c | 2 +-
tests/unit/test-char.c | 3 +--
4 files changed, 8 insertions(+), 5 deletions(-)
Good idea!
For the series:
Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>