[libvirt] [PATCH] Error out on missing machine type in machine configs
John Ferlan
jferlan at redhat.com
Thu Feb 18 12:48:14 UTC 2016
On 02/11/2016 07:07 AM, Ján Tomko wrote:
> Commit f1a89a8 allowed parsing configs from /etc/libvirt
> without validating the emulator capabilities.
>
> Check for the presence of os->type.machine even if the
> VIR_DOMAIN_DEF_PARSE_SKIP_OSTYPE_CHECKS flag is set,
> otherwise the daemon can crash on carelessly crafted input
> in the config directory.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1267256
> ---
> src/conf/domain_conf.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
ACK
John
More information about the libvir-list
mailing list