Merged revisions 105005 via svnmerge from
authorJason Parker <jparker@digium.com>
Thu, 28 Feb 2008 19:21:15 +0000 (19:21 +0000)
committerJason Parker <jparker@digium.com>
Thu, 28 Feb 2008 19:21:15 +0000 (19:21 +0000)
commit62c63a8412321bdbf56d1783cabb43c62e5401a0
tree3ab8b14714e048e08df5588e9fd88c7a0f78652d
parent557c38bc8dc4e35fa597cdb8c92b05faeac4ce65
Merged revisions 105005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105005 | qwell | 2008-02-28 13:20:10 -0600 (Thu, 28 Feb 2008) | 9 lines

Make pbx_exec pass an empty string into applications, if we get NULL.
This protects against possible segfaults in applications that may try
 to use data before checking length (ast_strdupa'ing it, for example)

(closes issue #12100)
Reported by: foxfire
Patches:
      12100-nullappargs.diff uploaded by qwell (license 4)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cdr.c
main/pbx.c