]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Allow dangerous functions when adding a hint to dialplan. 71/3371/1
authorRichard Mudgett <rmudgett@digium.com>
Wed, 27 Jul 2016 22:17:53 +0000 (17:17 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 28 Jul 2016 20:11:33 +0000 (15:11 -0500)
commit68ebf86e2fbd0a8e60d32c17f8ce64d4db51b7a6
tree0ff01439ca588e180f2a3419ca7fde36b93de16f
parent4cbb735c288d05ba113912b1af030231bd5f9872
pbx.c: Allow dangerous functions when adding a hint to dialplan.

We can allow dangerous functions when adding a hint since altering
dialplan is itself a privileged activity.  Otherwise, we could never
execute dangerous functions.

ASTERISK-25996 #close
Reported by: Andrew Nagy

Change-Id: I4929ff100ad1200a0198262d069a34f2296e77ba
include/asterisk/pbx.h
main/pbx.c
main/pbx_functions.c