[svn-commits] jrose: branch 12 r422626 - in /branches/12: ./ main/manager.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Sep 4 15:46:52 CDT 2014


Author: jrose
Date: Thu Sep  4 15:46:46 2014
New Revision: 422626

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=422626
Log:
Manager: Require read permission for SYSTEM in order to send FullyBooted

Review: https://reviewboard.asterisk.org/r/3969/
........

Merged revisions 422584 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 422625 from http://svn.asterisk.org/svn/asterisk/branches/11

Modified:
    branches/12/   (props changed)
    branches/12/main/manager.c

Propchange: branches/12/
------------------------------------------------------------------------------
Binary property 'branch-11-merged' - no diff available.

Modified: branches/12/main/manager.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/main/manager.c?view=diff&rev=422626&r1=422625&r2=422626
==============================================================================
--- branches/12/main/manager.c (original)
+++ branches/12/main/manager.c Thu Sep  4 15:46:46 2014
@@ -3615,6 +3615,7 @@
 	}
 	astman_send_ack(s, m, "Authentication accepted");
 	if ((s->session->send_events & EVENT_FLAG_SYSTEM)
+		&& (s->session->readperm & EVENT_FLAG_SYSTEM)
 		&& ast_test_flag(&ast_options, AST_OPT_FLAG_FULLY_BOOTED)) {
 		struct ast_str *auth = ast_str_alloca(80);
 		const char *cat_str = authority_to_str(EVENT_FLAG_SYSTEM, &auth);




More information about the svn-commits mailing list