Changed the default for live_dangerously to no

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@404006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David M. Lee
2013-12-17 14:33:35 +00:00
parent 66853660ec
commit ffaf8857f1
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ documentation_language = en_US ; Set the language you want documentation
; etc.) These functions (such as SHELL) are ; etc.) These functions (such as SHELL) are
; considered dangerous because they can allow ; considered dangerous because they can allow
; privilege escalation. ; privilege escalation.
; Default yes, for backward compatability. ; Default no
; Changing the following lines may compromise your security. ; Changing the following lines may compromise your security.
;[files] ;[files]

View File

@@ -3333,8 +3333,8 @@ static void ast_readconfig(void)
unsigned int dbdir:1; unsigned int dbdir:1;
unsigned int keydir:1; unsigned int keydir:1;
} found = { 0, 0 }; } found = { 0, 0 };
/* Default to true for backward compatibility */ /* Default to false for security */
int live_dangerously = 1; int live_dangerously = 0;
/* Set default value */ /* Set default value */
option_dtmfminduration = AST_MIN_DTMF_DURATION; option_dtmfminduration = AST_MIN_DTMF_DURATION;