[asterisk-dev] [Code Review] 3738: main/frame: Only unref formats on non-static frames

opticron reviewboard at asterisk.org
Thu Jul 10 13:17:34 CDT 2014


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

(Updated July 10, 2014, 1:17 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Corey Farrell, Joshua Colp, and Matt Jordan.


Changes
-------

Committed in revision 418348


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


Repository: Asterisk


Description
-------

The format on the frame was being unreffed on static frames that had not bumped the ref resulting in a crash when compiled with the DO_CRASH flag due to the refcount on the format going negative.


Diffs
-----

  team/group/media_formats-reviewed-trunk/main/frame.c 418253 
  team/group/media_formats-reviewed-trunk/include/asterisk/slin.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_ulaw.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_speex.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_lpc10.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_ilbc.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_gsm.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_g726.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_g722.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_alaw.h 418253 
  team/group/media_formats-reviewed-trunk/codecs/ex_adpcm.h 418253 

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


Testing
-------

Ensured that the crash was resolved.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140710/7457f3f8/attachment.html>


More information about the asterisk-dev mailing list