Heinrich Schuchardt
54024c8021
tools: mkimage: fix sfspl_image_extract_subimage()
...
Do not leak file descriptor if writing fails.
Correct the error text if opening a file fails.
Addresses-Coverity-ID: 467054 Resource leaks
Fixes: 64fd30d367a1 ("tools: mkimage: Add StarFive SPL image support")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-10-30 15:32:49 -04:00
..
2023-10-13 14:01:42 -06:00
2023-10-02 10:55:44 -04:00
2023-10-02 10:55:44 -04:00
2023-08-28 15:59:22 -04:00
2023-07-07 16:25:56 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2020-04-26 14:23:39 -06:00
2023-10-04 10:49:30 -04:00
2018-05-07 09:34:12 -04:00
2023-10-24 16:34:45 -04:00
2016-06-13 07:46:29 +09:00
2023-07-24 09:34:11 -06:00
2023-07-07 16:25:56 -04:00
2023-04-13 11:34:47 +02:00
2018-05-07 09:34:12 -04:00
2021-09-30 08:08:56 -04:00
2018-05-07 09:34:12 -04:00
2023-04-13 11:34:47 +02:00
2019-07-29 00:20:31 +02:00
2023-08-08 17:41:52 -04:00
2022-02-28 10:33:11 -05:00
2018-05-07 09:34:12 -04:00
2023-10-13 14:01:42 -06:00
2021-01-13 02:38:00 +01:00
2020-06-29 22:36:35 +02:00
2022-12-22 10:31:47 -05:00
2023-08-25 13:54:33 -04:00
2023-04-06 19:10:08 -04:00
2022-01-26 08:50:43 -07:00
2022-12-08 09:29:02 -05:00
2018-11-26 22:52:12 -05:00
2022-01-26 08:50:42 -07:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2023-10-11 13:22:32 -04:00
2019-05-18 12:32:02 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2023-04-13 11:34:47 +02:00
2022-01-19 18:11:34 +01:00
2018-05-07 09:34:12 -04:00
2023-01-27 12:51:26 -05:00
2023-08-30 11:47:43 -04:00
2022-01-28 17:58:41 -05:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2017-06-16 10:11:38 -04:00
2023-04-13 11:34:47 +02:00
2021-10-21 13:59:26 +02:00
2023-04-13 11:34:47 +02:00
2019-01-01 14:12:18 +01:00
2023-04-13 11:34:47 +02:00
2023-10-09 15:24:31 -04:00
2023-06-09 13:52:40 -04:00
2023-03-29 11:58:26 -04:00
2023-04-13 11:34:47 +02:00
2022-02-17 14:17:07 +01:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2023-09-20 21:05:14 +08:00
2014-12-18 17:26:08 -07:00
2019-11-04 18:15:32 -07:00
2022-06-23 12:58:18 -04:00
2023-10-13 14:01:42 -06:00
2022-11-23 13:06:12 -05:00
2018-05-07 09:34:12 -04:00
2023-06-09 13:52:40 -04:00
2023-10-11 15:32:39 -04:00
2023-06-23 14:38:16 -04:00
2021-10-25 14:49:58 +01:00
2023-08-03 09:40:50 -04:00
2023-08-03 09:40:50 -04:00
2022-09-23 15:09:16 -04:00
2022-09-23 15:09:16 -04:00
2018-05-07 09:34:12 -04:00
2023-04-13 11:34:47 +02:00
2018-05-07 09:34:12 -04:00
2021-12-02 08:34:01 +02:00
2023-04-13 11:34:47 +02:00
2018-05-07 09:34:12 -04:00
2020-04-24 10:51:56 -04:00
2020-04-24 10:51:56 -04:00
2019-12-02 18:23:08 -05:00
2018-05-07 09:34:12 -04:00
2023-04-13 11:34:47 +02:00
2022-02-28 12:01:02 +05:30
2023-04-20 20:45:08 +08:00
2023-04-20 20:45:08 +08:00
2022-12-08 09:29:02 -05:00
2023-09-23 09:00:37 -06:00
2023-10-04 09:25:22 -06:00
2023-09-06 13:28:29 +02:00
2023-07-05 16:14:54 -04:00
2023-05-13 04:01:30 +02:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2019-12-27 15:17:07 +08:00
2019-11-04 18:15:32 -07:00
2019-12-27 15:17:07 +08:00
2019-12-27 15:17:07 +08:00
2023-03-08 11:40:49 -08:00
2023-10-30 15:32:49 -04:00
2023-04-13 11:34:47 +02:00
2019-10-08 16:36:37 +02:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2017-05-05 16:45:57 -04:00
2022-09-13 06:38:08 +02:00
2023-04-13 11:34:47 +02:00
2018-05-07 09:34:12 -04:00
2020-11-30 18:32:09 +01:00
2023-04-13 11:34:47 +02:00
2023-04-13 11:34:47 +02:00
2022-02-15 12:41:00 +01:00
2023-07-21 09:00:38 +02:00
2019-10-28 13:32:51 -04:00
2023-07-21 09:00:38 +02:00
2023-07-21 09:00:38 +02:00