]> xenbits.xensource.com Git - libvirt.git/commit
storage: fix crash in luks encrypted volume creation
authorKaterina Koukiou <kkoukiou@redhat.com>
Wed, 6 Jun 2018 14:15:19 +0000 (16:15 +0200)
committerKaterina Koukiou <kkoukiou@redhat.com>
Wed, 6 Jun 2018 16:02:59 +0000 (18:02 +0200)
commitfab2e49d3c290bfd122aad39b9484f60c5354256
tree878280be62c67ea2cb14160b5f475c24e7214144
parentf982c92c8fe24dadeb6f3cb1873a712945568b48
storage: fix crash in luks encrypted volume creation

Fix the case when creating a luks encrypted volume
via an xml file without 'secret' element.
libvirtd was receiving SIGSEGV, now proper error is reported for
the missing element.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1468422

Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com>
src/storage/storage_util.c