]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip: Fail global load if debug or default_from_user are empty 01/3501/2
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:33:07 +0000 (12:33 -0500)
commit2db2d9dbd34ae09cdf0a809d8f14071f3ad8e95f
tree96e53d24b405731607ea21a2b1a89fd3620866e4
parentef7361659f09627599a801160c371dc0b5e60af0
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