[asterisk-dev] [Code Review] 3300: Don't crash on lack of bridged rtp instance

Russell Bryant reviewboard at asterisk.org
Wed Mar 5 12:49:36 CST 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3300/
-----------------------------------------------------------

Review request for Asterisk Developers and leifmadsen.


Bugs: ASTERISK-23419
    https://issues.asterisk.org/jira/browse/ASTERISK-23419


Repository: Asterisk


Description
-------

This bug shows a crash in bridge_p2p_rtp_write().  There is no bridged rtp instance so it goes boom.  The patch just catches the case and returns.  I'm not really sure *why* there's no bridged instance, but this seems like a pretty safe function input sanity check.


Diffs
-----

  /tags/1.8.18.1/res/res_rtp_asterisk.c 405155 

Diff: https://reviewboard.asterisk.org/r/3300/diff/


Testing
-------


Thanks,

Russell Bryant

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140305/325eaa59/attachment.html>


More information about the asterisk-dev mailing list