From: Eric Bollengier Date: Tue, 19 Oct 2021 15:48:14 +0000 (+0200) Subject: Fix #8276 About segfault when plugins are not loaded X-Git-Tag: Release-11.3.2~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc69607dd6f0f1460b13a201b26a3357ab17f3bb;p=thirdparty%2Fbacula.git Fix #8276 About segfault when plugins are not loaded --- diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index 4463844b2..0a617c32f 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -1517,7 +1517,7 @@ bool plugin_query_parameter(JCR *jcr, char *param, char *command, void sendit(JC Dmsg0(dbglvl, "plugin_query\n"); - if (!get_plugin_name(jcr, command, &len)) { + if (!b_plugin_list || !get_plugin_name(jcr, command, &len)) { goto bail_out; }