[asterisk-bugs] [JIRA] Created: (ASTERISK-20142) 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


patch for alloca and ast_strdupa checked for return values
----------------------------------------------------------

                 Key: ASTERISK-20142
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20142
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
    Affects Versions: 1.8.14.0
            Reporter: Walter Doekes
            Severity: Minor


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