util: storage: Fix parsing of nbd:// URI without path
If a storage file would be backed with a NBD device without path (nbd://localhost) libvirt would crash when parsing the backing path for the disk as the URI structure's path element is NULL in such case but the NBD parser would access it shamelessly. (cherry picked from commit fdb80ed4)
Showing
想要评论请 注册 或 登录