Apply multiple crash fixes, found in issue #11386, but not completely
commit3dccc566e41850b8405eff861207a7f08cd0ac23
authortilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 8 Jan 2008 18:02:13 +0000 (8 18:02 +0000)
committertilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 8 Jan 2008 18:02:13 +0000 (8 18:02 +0000)
treefbf1d01bfca299f11af06387c9896210dca8f5cc
parentf1b4aa4b6d77389aff8b327c100c42f0748e138b
Apply multiple crash fixes, found in issue #11386, but not completely
closing that issue.

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@97077 614ede4d-c843-0410-af14-a771ab80d22e
channels/chan_sip.c
main/asterisk.c