Re: [PATCH 01/12] aspeed/hace: Initialize g_autofree pointer

2023-05-30 Thread Philippe Mathieu-Daudé
On 8/5/23 09:58, Cédric Le Goater wrote: As mentioned in docs/devel/style.rst "Automatic memory deallocation": * Variables declared with g_auto* MUST always be initialized, otherwise the cleanup function will use uninitialized stack memory This avoids QEMU to coredump when running the "hash

Re: [PATCH 01/12] aspeed/hace: Initialize g_autofree pointer

2023-05-08 Thread Francisco Iglesias
On [2023 May 08] Mon 09:58:48, Cédric Le Goater wrote: > As mentioned in docs/devel/style.rst "Automatic memory deallocation": > > * Variables declared with g_auto* MUST always be initialized, > otherwise the cleanup function will use uninitialized stack memory > > This avoids QEMU to coredump

[PATCH 01/12] aspeed/hace: Initialize g_autofree pointer

2023-05-08 Thread Cédric Le Goater
As mentioned in docs/devel/style.rst "Automatic memory deallocation": * Variables declared with g_auto* MUST always be initialized, otherwise the cleanup function will use uninitialized stack memory This avoids QEMU to coredump when running the "hash test" command under Zephyr. Cc: Steven Lee