]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Allow dangerous functions when adding a hint to dialplan. 69/3369/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:10:18 +0000 (15:10 -0500)
commit873fc0fda596aa33115821329dfc556848ac2e9d
tree55ace1d49d1f1a64a82dc91f7ad0aa5e09ec8027
parent7883f128d54a52c65741c0e03e69ba0cf27a4743
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