[asterisk-bugs] [JIRA] Updated: (ASTERISK-20125) alloca and ast_strdupa checked for return values

Walter Doekes (JIRA) noreply at issues.asterisk.org
Thu Jul 12 08:51:20 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Walter Doekes updated ASTERISK-20125:
-------------------------------------

    Attachment:     (was: tmp.diff)

> alloca and ast_strdupa checked for return values
> ------------------------------------------------
>
>                 Key: ASTERISK-20125
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20125
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 1.8.14.0
>            Reporter: Walter Doekes
>            Severity: Minor
>         Attachments: issueA20125_alloca_no_check_return.patch
>
>
> In several places alloca and/or ast_strdupa get checked for their return value. They won't return NULL, and if alloca did, then ast_strdupa would segfault anyway.
> Attached, the immediately obvious ones from chan_sip.c

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list