Using the Dial application f option when the call is forwarded will likely crash.
authorRichard Mudgett <rmudgett@digium.com>
Sat, 3 Apr 2010 01:42:32 +0000 (01:42 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Sat, 3 Apr 2010 01:42:32 +0000 (01:42 +0000)
commit5333a48b17e3f0f9cb12a7cb23da9bc509539dd7
tree4630766342bb882abc69922446fef1dfe65b0e45
parenta541609dde8fdcf49d952cf496f1d8d9403d572e
Using the Dial application f option when the call is forwarded will likely crash.

Fix app_dial.c:do_forward() OPT_FORCECLID setting cid.cid_num with a stack
allocated string instead of a heap allocated string.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@256103 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_dial.c