diff options
| author | Paul Durrant | 2019-02-15 17:25:33 +0100 |
|---|---|---|
| committer | Anthony PERARD | 2019-02-28 18:21:12 +0100 |
| commit | 2ae23f0ecf002203977b7337219e2413abd656ec (patch) | |
| tree | b4786e2a0f07297ca5196d272f0482848c8ef24e /scripts/make-release | |
| parent | xen-block: remove redundant assignment (diff) | |
| download | qemu-2ae23f0ecf002203977b7337219e2413abd656ec.tar.gz qemu-2ae23f0ecf002203977b7337219e2413abd656ec.tar.xz qemu-2ae23f0ecf002203977b7337219e2413abd656ec.zip | |
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/make-release')
0 files changed, 0 insertions, 0 deletions
