[asterisk-bugs] [JIRA] (ASTERISK-25720) [patch] memory allocation fix in chanvars

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Jan 25 06:53:32 CST 2016


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

Joshua Colp commented on ASTERISK-25720:
----------------------------------------

Okay, so that should be updated to use the ast_calloc(1, ) way.

As for 2 that is used in GCC to specify a variable-length object. This is used in a few places in the tree.

> [patch] memory allocation fix in chanvars
> -----------------------------------------
>
>                 Key: ASTERISK-25720
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25720
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/General
>    Affects Versions: 13.7.0
>            Reporter: Badalian Vyacheslav
>            Assignee: Unassigned
>         Attachments: chanvars.diff
>
>
> Founded by Asan



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



More information about the asterisk-bugs mailing list