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

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


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: tmp.diff

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