On a Friday in 2022, Kristina Hanicova wrote:
The callback struct does not always have to be set which could
cause a dereferencing of a NULL pointer. This patch adds check
against NULL in missing places before dereferencing.
Signed-off-by: Kristina Hanicova <khanicov(a)redhat.com>
---
src/conf/virdomainjob.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
I will push this after `aplay victory.wav` exits:
https://gitlab.com/janotomko/libvirt/-/pipelines/655155931
Jano