aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi/common.py
diff options
context:
space:
mode:
authorPaul Durrant <paul.durrant@citrix.com>2019-02-15 16:25:33 +0000
committerAnthony PERARD <anthony.perard@citrix.com>2019-02-28 17:21:12 +0000
commit2ae23f0ecf002203977b7337219e2413abd656ec (patch)
treeb4786e2a0f07297ca5196d272f0482848c8ef24e /scripts/qapi/common.py
parent210b9776376698c50060e5383ccfac1170ae01a2 (diff)
downloadqemu-2ae23f0ecf002203977b7337219e2413abd656ec.zip
qemu-2ae23f0ecf002203977b7337219e2413abd656ec.tar.gz
qemu-2ae23f0ecf002203977b7337219e2413abd656ec.tar.bz2
xen-block: report error condition from vbd_name_to_disk()
The function needs to make sure it is passed a valid disk name. This is easily done by making sure that the parsing loop results in a non-zero value. Spotted by Coverity: CID 1398640 Reported-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com> Message-Id: <20190215162533.19475-4-paul.durrant@citrix.com> Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions