From: <gi...@ba...> - 2011-12-31 08:04:29
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Bacula Community source". The branch, Branch-5.3 has been updated via 575a8ac89527a9f0455a2976d98108bdc02b238a (commit) from 175a3f341471973968992b1bc3303aec1321ee5b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 575a8ac89527a9f0455a2976d98108bdc02b238a Author: Kern Sibbald <ke...@si...> Date: Sat Dec 31 09:03:31 2011 +0100 Fix seg fault in plugin event loop ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/filed/fd_plugins.c b/bacula/src/filed/fd_plugins.c index fbae142..b50d386 100644 --- a/bacula/src/filed/fd_plugins.c +++ b/bacula/src/filed/fd_plugins.c @@ -216,7 +216,7 @@ void generate_plugin_event(JCR *jcr, bEventType eventType, void *value) continue; } plugin_ctx = &plugin_ctx_list[i++]; - if (is_plugin_disabled(plugin_ctx)) { + if (!plugin_ctx || is_plugin_disabled(plugin_ctx)) { continue; } rc = plug_func(plugin)->handlePluginEvent(plugin_ctx, &event, value); hooks/post-receive -- Bacula Community source |