]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Fixed build problem with dev mode enabled, which was caused by commit 321100. Reform...
authorMark Murawki <markm@intellasoft.net>
Thu, 26 May 2011 21:48:45 +0000 (21:48 +0000)
committerMark Murawki <markm@intellasoft.net>
Thu, 26 May 2011 21:48:45 +0000 (21:48 +0000)
commita35ebe0f6165779802fe0e97ced23f7ff57b8a3c
treec50ccc52f3101ec80a861564e595fc9bbd87e6c4
parentd21c41b26ac203366039ac741b90fe95f6da3f13
Fixed build problem with dev mode enabled, which was caused by commit 321100.  Reformulated patch to be more generic.

Moved the sip uri parse variable initalization to parse_uri_full in reqresp_parser.c.  This will ensure that any use of parse uri will have null output variables if the parse fails.

(closes issue #19346)
Reported by: kobaz
Tested by: kobaz,JonathanRose

Review: [full review board URL with trailing slash]

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@321155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/reqresp_parser.c