]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nodedev: handle null return from GetIOMMUGroupDev()
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 13 Apr 2021 19:27:04 +0000 (14:27 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Thu, 15 Apr 2021 13:51:37 +0000 (08:51 -0500)
commit5c4b2bf7709ef517502fccdf3d92b166f8f82ba4
tree28cae82794e20b55c9b95c0de2588ebad164071b
parent12850ed257fa09cbbf831392dd0cf66d703f60b6
nodedev: handle null return from GetIOMMUGroupDev()

Coverity reported that this function can return NULL, so it should be
handled properly.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/node_device/node_device_driver.c