|
|
|
|
|
|
|
|
|
|
| |
The issue occurs if a Libvirt device lookup via getDevices() takes
place after a device node was removed. After the removal, a bunch of
empty XML text nodes remain which leads to problems in the underlying
XML element nodes. Those nodes are queried with the help of relative
XPath expressions which depend on valid XML element nodes.
This patch restricts queries of underlying child nodes to valid XML
element nodes avoiding the occurence of XPath runtime exceptions.
|