[asterisk-dev] [Code Review] 4100: codec_dahdi: Fix crash on load of codec_dahdi.

rmudgett reviewboard at asterisk.org
Wed Oct 22 16:45:35 CDT 2014


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

(Updated Oct. 22, 2014, 4:45 p.m.)


Status
------

This change has been discarded.


Review request for Asterisk Developers.


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


Repository: Asterisk


Description
-------

Codec_dahdi is the only translator that uses the struct ast_translator->core_src_codec and struct ast_translator->core_dst_codec pointers.  Unfortunately, nothing ever initialized the pointers.


Diffs
-----

  /branches/13/main/translate.c 426078 
  /branches/13/include/asterisk/translate.h 426078 
  /branches/13/codecs/codec_dahdi.c 426078 

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


Testing
-------

Made some calls that perform translation.  No crashes happened.


Thanks,

rmudgett

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


More information about the asterisk-dev mailing list