Pavel Hrdina
b96174d9f2
domain_conf: fix NULL dereference on error in virDomainObjCopyPersistentDef
...
The issue was introduced together with the function itself by commit
<da1eba6bc8f58bfce34136710d1979a3a44adb17>. Calling
`virDomainObjGetPersistentDef` may return NULL which is later passed
to `virDomainDefFormat` where the `def` attribute is marked as NONNULL
and later in `virDomainDefFormatInternalSetRootName` it is actually
defererenced without any other check.
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2020-11-16 17:13:42 +01:00
..
2020-11-06 10:40:51 +01:00
2020-07-08 08:40:30 +02:00
2020-11-02 22:01:36 -05:00
2020-01-30 12:32:03 +01:00
2020-11-09 12:25:50 +01:00
2020-11-09 12:25:50 +01:00
2020-11-09 12:25:49 +01:00
2020-10-07 11:26:27 +02:00
2020-09-24 13:48:31 +02:00
2020-09-24 13:48:31 +02:00
2020-10-22 15:02:46 +02:00
2020-11-06 10:40:51 +01:00
2020-06-23 17:27:50 +02:00
2020-10-08 11:09:27 +02:00
2020-06-09 20:32:50 +02:00
2020-11-16 17:13:42 +01:00
2020-11-11 23:06:23 +01:00
2020-10-23 09:41:52 +02:00
2020-10-23 09:41:52 +02:00
2020-10-22 15:02:46 +02:00
2020-10-08 11:09:27 +02:00
2020-02-24 23:15:50 +01:00
2020-08-03 09:27:04 +02:00
2020-01-03 15:42:13 +00:00
2020-10-20 14:46:52 -04:00
2020-02-25 17:50:47 +01:00
2020-10-08 11:09:27 +02:00
2020-10-08 11:09:27 +02:00
2019-11-25 15:29:56 -05:00
2020-10-08 11:09:26 +02:00
2020-06-15 16:02:16 -04:00
2020-10-08 11:09:27 +02:00
2020-11-11 16:56:33 +01:00
2020-11-11 16:56:33 +01:00
2020-02-24 23:15:50 +01:00
2020-10-08 11:09:27 +02:00
2020-07-08 12:05:24 +02:00
2020-10-08 11:09:27 +02:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00
2020-06-04 11:17:05 +01:00
2020-10-08 11:09:27 +02:00
2020-10-08 11:09:27 +02:00
2020-02-24 23:15:50 +01:00
2020-10-01 09:55:02 +02:00
2020-11-06 10:40:51 +01:00
2020-10-01 09:55:02 +02:00
2020-08-25 19:03:12 +02:00
2020-07-08 16:34:17 -04:00
2019-11-12 14:37:57 +01:00
2020-10-08 11:09:27 +02:00
2020-07-23 16:18:09 +01:00
2020-11-06 10:40:51 +01:00
2020-08-25 08:42:16 +04:00
2020-10-08 11:09:27 +02:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00
2019-12-09 10:17:27 +00:00
2020-10-08 11:09:27 +02:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00
2020-10-08 11:09:27 +02:00
2020-02-25 17:50:47 +01:00
2020-11-11 16:56:33 +01:00
2020-06-19 10:39:55 +02:00
2020-10-22 15:02:46 +02:00
2020-11-06 10:40:51 +01:00
2020-07-08 16:34:17 -04:00
2020-11-06 10:40:51 +01:00
2020-11-02 22:01:36 -05:00
2020-08-25 19:03:12 +02:00
2020-11-06 10:40:51 +01:00
2020-11-06 10:40:51 +01:00