Fix Segfault In features-config.c When Application Has No Arguments
authorMichael L. Young <elgueromexicano@gmail.com>
Wed, 18 Sep 2013 00:13:23 +0000 (00:13 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Wed, 18 Sep 2013 00:13:23 +0000 (00:13 +0000)
commit38fa6288127450aa360bf9350e7040b3f205ce95
treed83eded2b7963e43caabe28363ef801c9a40ae0b
parent391f0003c424947aba064839a8283160edbb6cd4
Fix Segfault In features-config.c When Application Has No Arguments

Some applications do not require arguments.  Therefore, when parsing application
maps in features.conf, it is possible that app_data will be set to NULL.

* This patch sets app_data to "" if it is NULL.

Review: https://reviewboard.asterisk.org/r/2804
........

Merged revisions 399294 from http://svn.asterisk.org/svn/asterisk/branches/12

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