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

Walter Doekes (JIRA) noreply at issues.asterisk.org
Tue Aug 14 03:22:07 CDT 2012


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

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

    Status: Waiting for Feedback  (was: Waiting for Feedback)

Somehow this didn't get closed. Because it is in feedback state?

Would've been nice to see my name in the commit msg though..

> 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
>            Assignee: 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