[asterisk-bugs] [JIRA] (ASTERISK-24542) Failure showing codecs via 'core show channeltype <tech>'

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Nov 21 09:21:29 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223671#comment-223671 ] 

Matt Jordan commented on ASTERISK-24542:
----------------------------------------

I took a quick peek at it, it should be fine. The statically allocated buffer is too small for a lot of configurations with lots of codecs; expanding the buffer size is an appropriate solution.

> Failure showing codecs via 'core show channeltype <tech>'
> ---------------------------------------------------------
>
>                 Key: ASTERISK-24542
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24542
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Channels
>    Affects Versions: 13.0.0
>         Environment: Debian 7 x64
>            Reporter: snuffy
>            Severity: Trivial
>         Attachments: channeltype-tech.diff
>
>
> Issue with the 'core show channeltypes <tech>'.
> Basically command would fail when trying to complete the 'Capabilities:' section.
> On the command line.. 'failed to extend from 64 to 98'
> Which is due to the ast_str_alloca() being 64, my suggested patch is to move it to 256 which should be more than enough.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list