On Wed, Sep 20, 2023 at 14:01:29 +0200, Pavel Hrdina wrote:
Function virGetConnectSecret() can return NULL so we need to check
it
since in virSecretGetSecretString() it gets dereferenced.
Reported-by: coverity
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
src/qemu/qemu_nbdkit.c | 3 +++
1 file changed, 3 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>