[asterisk-dev] [Code Review] 2501: Change IAX2 "inkeys" To Use A Dynamic String Buffer

Michael Young reviewboard at asterisk.org
Fri May 10 10:18:15 CDT 2013


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

(Updated May 10, 2013, 11:18 a.m.)


Review request for Asterisk Developers.


Changes
-------

Made changes based on review - using ast_strdup now.


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


Repository: Asterisk


Description
-------

Currently, the setting of "inkeys" is limited to 256 chars .  If the user has many keys and the names of those key files are long, the 256 chars is not enough.

This changes the "inkeys" to be a dynamic size.


Diffs (updated)
-----

  /trunk/channels/chan_iax2.c 388248 

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


Testing
-------

The reporter tested this on his machine where he was having a problem.  This fixed his issue.


Thanks,

Michael Young

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130510/d8e3fe73/attachment-0001.htm>


More information about the asterisk-dev mailing list