]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Fail global load if debug or default_from_user are empty 00/3500/3
authorGeorge Joseph <gjoseph@digium.com>
Thu, 11 Aug 2016 17:18:15 +0000 (11:18 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Thu, 11 Aug 2016 17:32:43 +0000 (11:32 -0600)
commit143df33110e61328a3c57cbcbeb63dd949f5680e
tree0c361595131e68b92fd2ddee742148373b24a83c
parent1a3cc843718a35eb69168304c54ec9e7caec6ffd
res_pjsip:  Fail global load if debug or default_from_user are empty

If debug was specified in the global configuration but left blank,
the logger would treat it as a wildcard and log all hosts.  If
default_from_user was empty, a crash would result.

The global apply handler now checks for empty strings.

ASTERISK-26239 #close
ASTERISK-26238 #close

Change-Id: Ie75727f5cd5808845d92cc81f5713842fb203336
res/res_pjsip/config_global.c