Resolve FORWARD_NULL static analysis warnings
authorKinsey Moore <kmoore@digium.com>
Thu, 10 May 2012 20:56:09 +0000 (20:56 +0000)
committerKinsey Moore <kmoore@digium.com>
Thu, 10 May 2012 20:56:09 +0000 (20:56 +0000)
commitdd81b047dbf15a501b81354db505daf50703a1a0
tree01754d4206c865653717baf23e47ed264f7a6b3d
parent8227f70cd70f497cb03c1f9aab63950bcd979d8b
Resolve FORWARD_NULL static analysis warnings

This resolves core findings from ASTERISK-19650 numbers 0-2, 6, 7, 9-11, 14-20,
22-24, 28, 30-32, 34-36, 42-56, 82-84, 87, 89-90, 93-102, 104, 105, 109-111,
and 115. Finding numbers 26, 33, and 29 were already resolved.  Those skipped
were either extended/deprecated or in areas of code that shouldn't be
disturbed.

(Closes issue ASTERISK-19650)
........

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

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@366169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
27 files changed:
apps/app_voicemail.c
channels/chan_agent.c
channels/chan_dahdi.c
channels/chan_iax2.c
channels/chan_sip.c
channels/iax2-parser.c
channels/sip/reqresp_parser.c
funcs/func_lock.c
funcs/func_speex.c
main/app.c
main/cdr.c
main/channel.c
main/config.c
main/data.c
main/devicestate.c
main/event.c
main/features.c
main/manager.c
main/pbx.c
main/tcptls.c
main/xmldoc.c
pbx/dundi-parser.c
pbx/pbx_dundi.c
res/ael/pval.c
res/res_calendar_icalendar.c
res/res_monitor.c
res/res_odbc.c