]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Add missing validate for fchost search fields
authorJohn Ferlan <jferlan@redhat.com>
Fri, 10 Mar 2017 15:04:20 +0000 (10:04 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 16 Mar 2017 01:17:47 +0000 (21:17 -0400)
commit2077ea849b052de272146a95015b12b36eaecbdd
treea9a266f45f8883aa8dd131698b446ecd9394c9c6
parentd21fc7093803f88624dec99a5eb14055235986e5
conf: Add missing validate for fchost search fields

Commit id 'bb74a7ffe' added some new fields to search for a fchost by
parent wwnn/wwpn or parent_fabric_name, but neglected to validate that
the data within the fields was valid at parse time. This could lead to
eventual failure at run time, so rather than have the failure then, let's
validate now.

Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/storage_conf.c