Peter Maydell
2c398ee5e3
tests/qtest/hd-geo-test: Fix checks on mkstemp() return value
...
Coverity notices that the checks against mkstemp() failing in
create_qcow2_with_mbr() are wrong: mkstemp returns -1 on failure but
the check is just "g_assert(fd)". Fix to use "g_assert(fd >= 0)",
matching the correct check in create_test_img().
Fixes: Coverity CID 1432274
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-id: 20210525134458.6675-4-peter.maydell@linaro.org
2021-06-03 16:43:27 +01:00
..
2021-05-26 14:49:46 +02:00
2021-05-18 12:57:38 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-05-14 12:28:01 +02:00
2021-04-12 22:37:11 +01:00
2021-01-19 14:38:51 +00:00
2021-05-01 10:03:51 +02:00
2021-05-01 10:03:52 +02:00
2021-02-23 10:58:42 -05:00
2021-06-03 16:43:27 +01:00
2020-08-21 06:30:20 -04:00
2021-02-19 06:29:05 +01:00
2020-08-21 06:30:20 -04:00
2021-05-12 17:42:23 +02:00
2020-11-03 16:51:13 +01:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:44 +00:00
2020-09-29 02:14:30 -04:00
2020-08-21 06:30:20 -04:00
2020-11-04 12:00:02 -05:00
2020-10-12 11:50:49 -04:00
2020-10-12 11:50:50 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-06-03 16:43:27 +01:00
2020-08-21 06:30:20 -04:00
2020-12-10 12:11:03 +01:00
2020-11-03 16:51:13 +01:00
2020-08-21 06:30:20 -04:00
2021-03-22 17:34:31 +08:00
2021-03-16 14:19:54 -04:00
2021-03-16 14:19:54 -04:00
2020-08-21 06:30:20 -04:00
2021-06-03 16:43:27 +01:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-05-14 12:28:01 +02:00
2021-05-14 12:28:01 +02:00
2020-08-21 06:30:20 -04:00
2020-11-04 12:00:02 -05:00
2020-11-10 08:51:30 +01:00
2021-05-14 12:28:01 +02:00
2021-03-19 10:37:46 -04:00
2020-08-21 06:30:20 -04:00
2021-05-12 18:20:52 +02:00
2020-08-21 06:30:20 -04:00
2021-05-18 12:57:38 +02:00
2020-08-21 06:30:20 -04:00
2020-10-24 07:23:19 +02:00
2020-08-21 06:30:20 -04:00
2021-05-14 12:37:00 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-01-19 15:45:14 +00:00
2021-03-30 14:05:33 +01:00
2020-10-27 11:10:32 +00:00
2021-05-14 12:28:01 +02:00
2020-12-10 11:30:44 +00:00
2021-02-16 14:12:54 +00:00
2020-11-20 13:34:22 +01:00
2020-11-20 13:35:33 +01:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-12-10 12:15:11 -05:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-01-29 10:47:28 +00:00
2020-12-15 12:51:59 -05:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-03-19 10:15:06 +01:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:20 -04:00
2021-02-16 17:15:39 +01:00
2020-08-21 06:30:40 -04:00
2021-05-14 12:28:01 +02:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-03-08 17:20:03 +00:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-12-10 12:15:11 -05:00
2021-03-18 09:22:55 +00:00
2021-03-19 10:15:06 +01:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:20 -04:00
2020-11-09 18:34:21 +01:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-05-14 12:28:01 +02:00
2020-08-21 06:30:20 -04:00
2021-05-18 12:57:38 +02:00
2021-03-18 09:22:55 +00:00
2020-11-24 12:44:25 +01:00
2020-08-21 06:30:20 -04:00
2021-01-27 20:45:20 +01:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2020-08-21 06:30:20 -04:00
2021-01-29 10:47:28 +00:00