chan_mgcp: Properly handle malformed media lines
authorKinsey Moore <kmoore@digium.com>
Wed, 23 Oct 2013 15:23:58 +0000 (15:23 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 23 Oct 2013 15:23:58 +0000 (15:23 +0000)
commitdfd3f4ef467b05eaaa6881724cc594e66f71d322
treee048f982aba2044d5c39ed40b13c5b5c6b0f863e
parentf4e028a765718d3c7f06bb5256084cff6d294930
chan_mgcp: Properly handle malformed media lines

This corrects a situation in which a media line was not parsed properly
and resulted in a crash.

(closes issue ASTERISK-21190)
Reported by: adomjan
Patches:
    chan_mgcp.c-sscnaf_fix uploaded by adomjan (License 5448)
........

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

Merged revisions 401538 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 401539 from http://svn.asterisk.org/svn/asterisk/branches/12

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