]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager: prevent file access outside of config dir
authorMike Bradeen <mbradeen@sangoma.com>
Mon, 3 Oct 2022 18:54:40 +0000 (12:54 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Sat, 3 Dec 2022 16:28:49 +0000 (11:28 -0500)
commitc59eb7e6d8fc6fa9833c1655084b5ce33655f8df
tree95320c7877a8d93d830fb579d5cea224065a35f0
parent120aca73ba2a6e115bdded906db3b0a916fd0d05
manager: prevent file access outside of config dir

Add live_dangerously flag to manager and use this flag to
determine if a configuation file outside of AST_CONFIG_DIR
should be read.

ASTERISK-30176

Change-Id: I46b26af4047433b49ae5c8a85cb8cda806a07404
(cherry picked from commit 81f10e847efdbe8ec264062ee234e1098c29b3f6)
configs/samples/asterisk.conf.sample
doc/UPGRADE-staging/manager_config_live_dangerously.txt [new file with mode: 0644]
include/asterisk/manager.h
main/manager.c
main/options.c