conf: Fix possible NULL dereference in virStorageVolTargetDefFormat
Commit dae1568c converted the perms member of the virStorageVolTarget struct into a pointer to make it optional. But virStorageVolTargetDefFormat did not check perms for NULL before dereferencing it.
Showing
想要评论请 注册 或 登录