From: <gi...@ba...> - 2012-11-21 07:06:13
|
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.2 has been updated via 041c814390b77a0882ca6d154a4980c343db7d1c (commit) from 4cf1f1a95474aa6ecac874d7484fb952d706f56d (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 041c814390b77a0882ca6d154a4980c343db7d1c Author: Kern Sibbald <ke...@si...> Date: Wed Nov 21 08:05:51 2012 +0100 Backport from Enterprise ----------------------------------------------------------------------- Summary of changes: diff --git a/bacula/src/dird/ua_acl.c b/bacula/src/dird/ua_acl.c index 1a386fd..c510df6 100644 --- a/bacula/src/dird/ua_acl.c +++ b/bacula/src/dird/ua_acl.c @@ -56,7 +56,7 @@ bool acl_access_ok(UAContext *ua, int acl, const char *item, int len) } /* If no console resource => default console and all is permitted */ - if (!ua->cons) { + if (!ua || !ua->cons) { Dmsg0(1400, "Root cons access OK.\n"); return true; /* No cons resource -> root console OK for everything */ } hooks/post-receive -- Bacula Community source |