Cédric Le Goater
c8f48b120b
aspeed/hace: Initialize g_autofree pointer
...
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 <steven_lee@aspeedtech.com>
Cc: Joel Stanley <joel@jms.id.au>
Cc: qemu-stable@nongnu.org
Fixes: c5475b3f9a ("hw: Model ASPEED's Hash and Crypto Engine")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-Id: <20230421131547.2177449-1-clg@kaod.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2023-06-15 18:35:57 +02:00
..
2023-04-28 11:31:54 +02:00
2020-09-14 14:23:19 +01:00
2023-01-12 16:50:19 +00:00
2023-01-12 16:50:19 +00:00
2023-06-06 10:19:31 +01:00
2023-06-06 10:19:32 +01:00
2020-12-18 15:20:17 -05:00
2023-06-06 10:19:33 +01:00
2023-02-14 09:11:27 +01:00
2021-02-11 11:50:14 +00:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2021-03-08 17:20:02 +00:00
2021-03-08 11:54:16 +00:00
2021-03-08 11:54:16 +00:00
2021-09-01 11:08:18 +01:00
2023-06-15 18:35:57 +02:00
2022-01-20 11:47:53 +00:00
2021-03-09 12:01:28 +01:00
2022-06-30 09:21:14 +02:00
2022-07-14 16:24:38 +02:00
2022-06-30 09:21:13 +02:00
2023-02-07 09:02:05 +01:00
2021-05-01 10:03:52 +02:00
2023-01-18 11:14:34 +01:00
2023-06-06 10:19:32 +01:00
2021-03-08 17:20:01 +00:00
2022-02-21 13:30:20 +00:00
2022-02-21 13:30:20 +00:00
2023-05-02 15:47:40 +01:00
2022-02-21 13:30:20 +00:00
2022-10-22 23:15:40 +02:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2023-03-07 12:38:40 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2022-08-08 23:43:11 +02:00
2023-03-02 13:57:50 +01:00
2021-01-08 15:13:39 +00:00
2022-12-15 17:37:47 +00:00
2023-01-05 15:02:08 +00:00
2023-01-05 15:01:11 +00:00
2021-05-02 17:24:50 +02:00
2020-12-10 11:44:55 +00:00
2020-12-10 11:44:55 +00:00
2021-05-02 17:24:50 +02:00
2023-04-28 11:31:54 +02:00
2022-08-01 11:58:02 +02:00
2022-12-15 17:37:47 +00:00
2021-03-08 17:20:01 +00:00
2023-01-18 11:14:34 +01:00
2023-06-06 10:19:33 +01:00
2023-04-20 11:17:35 +02:00
2021-05-02 17:24:50 +02:00
2022-12-16 15:56:55 +00:00
2021-05-02 17:24:50 +02:00
2023-01-06 10:42:55 +10:00
2023-01-06 10:42:55 +10:00
2023-06-06 10:19:33 +01:00
2023-03-08 00:37:48 +01:00
2020-11-03 16:51:13 +01:00
2023-03-08 00:37:48 +01:00
2023-02-06 11:41:39 +00:00
2021-03-08 17:20:03 +00:00
2021-05-10 17:21:54 +01:00
2023-01-18 11:14:34 +01:00
2022-03-18 10:55:15 +00:00
2021-01-12 21:19:02 +00:00
2021-03-12 12:48:56 +00:00
2021-03-12 12:48:56 +00:00
2021-01-12 21:19:02 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2023-01-12 17:15:09 +00:00
2020-09-18 14:12:32 -04:00
2021-09-20 08:50:59 +02:00
2023-01-08 01:54:22 -05:00
2022-06-09 19:32:49 -04:00
2023-01-08 01:54:22 -05:00
2022-03-06 05:08:23 -05:00
2023-01-12 17:15:09 +00:00
2021-05-02 17:24:50 +02:00
2021-05-02 17:24:50 +02:00
2023-01-26 13:25:07 +01:00
2020-09-18 14:12:32 -04:00
2020-11-10 11:03:48 +00:00
2023-06-06 10:19:33 +01:00
2020-12-08 13:48:57 -05:00
2021-02-08 15:15:32 +01:00
2021-11-09 10:11:27 +01:00
2022-04-21 11:37:03 +01:00
2022-01-28 14:29:46 +00:00
2021-03-12 12:40:09 +00:00
2023-02-23 13:56:14 +01:00
2022-03-18 11:31:20 +00:00
2021-09-13 16:07:20 +01:00