Merged revisions 320504 via svnmerge from
authorJonathan Rose <jrose@digium.com>
Mon, 23 May 2011 14:40:59 +0000 (14:40 +0000)
committerJonathan Rose <jrose@digium.com>
Mon, 23 May 2011 14:40:59 +0000 (14:40 +0000)
commit12d7d81e6c1c9f7d4f70b29de293deb519883f3b
treee352d8b63821f8541b6f6b9c2e86e7c4e53dc16a
parentca0509ca01aa3f439112aba77c458f7a1dacd0b7
Merged revisions 320504 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r320504 | jrose | 2011-05-23 09:33:20 -0500 (Mon, 23 May 2011) | 10 lines

  Fixes segfault occuring in chan_sip.c at __set_address_from_contact

  Checks to see if domain contains anything before sending it off to ast_sockaddr_resolve
  which is where the segfault was occuring due to null str.

  (closes issue #18857)
  Reported by: sybasesql

  Review: https://reviewboard.asterisk.org/r/1225/
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@320505 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c