]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: validate that PCI controller index is < 256
authorLaine Stump <laine@laine.org>
Mon, 27 Mar 2017 00:47:17 +0000 (20:47 -0400)
committerLaine Stump <laine@laine.org>
Mon, 27 Mar 2017 14:21:49 +0000 (10:21 -0400)
commit272f18563179d7372ce0a11b4425a0497cf70e93
treee45cb372b65174b39eafd8ddb15536b151803864
parent43da69158249318a7127ddca6a1813f03b18259c
conf: validate that PCI controller index is < 256

This is the maximum for many reasons, for starters because index ==
bus number, and a controller's bus number is 8 bits.

This incidentally resolves: https://bugzilla.redhat.com/1329090
src/conf/domain_conf.c