]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix off-by-one in virDomainDefGetVcpu
authorPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2016 08:46:53 +0000 (09:46 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 10 Mar 2016 12:58:44 +0000 (13:58 +0100)
commit8c7b7c4b0bb0d58dfb2e3dcdf1855a7dc9c858d0
tree1c7670a9a1114c9edd9036d5d9f32e43a2fa840a
parent4a39149b690cadf78ed584fc13be904ada4eed88
conf: Fix off-by-one in virDomainDefGetVcpu

Cpus are indexed starting from '0' so the check was invalid.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1316384
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1316420
src/conf/domain_conf.c