]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: validate video resolution
authorJonathon Jongsma <jjongsma@redhat.com>
Thu, 14 Nov 2019 21:59:17 +0000 (15:59 -0600)
committerCole Robinson <crobinso@redhat.com>
Fri, 15 Nov 2019 18:30:56 +0000 (13:30 -0500)
commit889cd827aefb1ae49b2db6f4f2b1ee751653a64c
treece78f26ee998390314f3d537d21405a05b1ef081
parent026c2ffb50b92da35317f89e0336d2b43fe849d8
conf: validate video resolution

Ensure that both x and y are non-zero when resolution is specified for a
video device.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
src/conf/domain_conf.c