]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fix Segfault In features-config.c When Application Has No Arguments
authorMichael L. Young <elgueromexicano@gmail.com>
Wed, 18 Sep 2013 00:12:21 +0000 (00:12 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Wed, 18 Sep 2013 00:12:21 +0000 (00:12 +0000)
commit474c5df62f72f704452806b8545099461aa88ce1
treea8af142ebaf94c5656213d75b35e63aeac19a4f9
parentc4fdbd079cf28be2b02d48d328f0f7b466e30b4f
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

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