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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jul 17 17:42:21 CDT 2012


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

Rusty Newton updated ASTERISK-20125:
------------------------------------

    Summary: patch for alloca and ast_strdupa checked for return values  (was: alloca and ast_strdupa checked for return values)

> patch for 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_return2.patch, issueA20125_alloca_no_check_return3.patch, 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