Fix many issues from the NULL_RETURNS Coverity report
authorKinsey Moore <kmoore@digium.com>
Fri, 4 May 2012 22:17:38 +0000 (22:17 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 4 May 2012 22:17:38 +0000 (22:17 +0000)
commit781f4657b91d6c8fa3dcf3bc9f0daaad5155506e
tree02eb58c52c581367e9fb47d8de1c633b2b094030
parent8842f76a7f486cd3d223a2c28ace91fcab5e8a12
Fix many issues from the NULL_RETURNS Coverity report

Most of the changes here are trivial NULL checks.  There are a couple
optimizations to remove the need to check for NULL and outboundproxy parsing
in chan_sip.c was rewritten to avoid use of strtok.  Additionally, a bug was
found and fixed with the parsing of outboundproxy when "outboundproxy=," was
set.

(Closes issue ASTERISK-19654)
........

Merged revisions 365398 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 365399 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@365400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c
apps/app_followme.c
apps/app_stack.c
apps/app_voicemail.c
channels/chan_iax2.c
channels/chan_sip.c
channels/sip/config_parser.c
funcs/func_aes.c
main/config.c
main/features.c
pbx/pbx_config.c