]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pbx.c: Allow dangerous functions when adding a hint to dialplan. 70/3370/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:20 +0000 (15:11 -0500)
commit5316f49a2d1f1c75dbfad7971bbb439f29e5c042
tree694c1980b553dc18467600dd487a3d7c102fc742
parente8d3b8a1cea764d65b0e87345f6afdc8179de327
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