From: Eric Bollengier Date: Wed, 10 Aug 2022 06:53:37 +0000 (+0200) Subject: vss: Fix #9403 About segfault when VSS is not enabled in the FileSet X-Git-Tag: Beta-15.0.0~475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e1c9ae2e2c34638ff1f1a7d984312255beb9d9d;p=thirdparty%2Fbacula.git vss: Fix #9403 About segfault when VSS is not enabled in the FileSet --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index dabbbff36..a229f728f 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -2066,6 +2066,7 @@ static bRC baculaGetValue(bpContext *ctx, bVariable var, void *value) break; } #endif + *(void **)value = NULL; return bRC_Error; case bVarVssDllHandle: #ifdef HAVE_WIN32