[asterisk-dev] [Code Review] 3761: media formats: Prevent crash on unset format

Corey Farrell reviewboard at asterisk.org
Sun Jul 13 11:25:52 CDT 2014


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

Ship it!


Ship It!

- Corey Farrell


On July 13, 2014, 11:49 a.m., opticron wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/3761/
> -----------------------------------------------------------
> 
> (Updated July 13, 2014, 11:49 a.m.)
> 
> 
> Review request for Asterisk Developers, Corey Farrell and Matt Jordan.
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> This prevents a crash on getting the codec rate for unset formats. This can be validly NULL if the RTP instance has never receieved an audio RTP frame which can occur in off-nominal situations.
> 
> 
> Diffs
> -----
> 
>   team/group/media_formats-reviewed-trunk/res/res_rtp_asterisk.c 418441 
> 
> Diff: https://reviewboard.asterisk.org/r/3761/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> opticron
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140713/911df08f/attachment-0001.html>


More information about the asterisk-dev mailing list