[asterisk-bugs] [JIRA] (ASTERISK-27318) res_pjsip_mwi: uninitialized value from ast_strings_match

Corey Farrell (JIRA) noreply at issues.asterisk.org
Thu Oct 5 12:24:38 CDT 2017


Corey Farrell created ASTERISK-27318:
----------------------------------------

             Summary: res_pjsip_mwi: uninitialized value from ast_strings_match
                 Key: ASTERISK-27318
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27318
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/Configuration
    Affects Versions: 15.0.0-rc1, 14.6.2, 13.17.2, GIT
            Reporter: Corey Farrell
            Severity: Minor


ast_strings_match uses sscanf and checks for non-zero return to verify a token was parsed.  This is incorrect as sscanf returns {{EOF}} (-1) for errors.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list