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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Oct 6 06:53:38 CDT 2017


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239044#comment-239044 ] 

Friendly Automation commented on ASTERISK-27318:
------------------------------------------------

Change 6665 merged by Jenkins2:
main/strings: Fix uninitialized value.

[https://gerrit.asterisk.org/6665|https://gerrit.asterisk.org/6665]

> 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: 13.17.2, 14.6.2, GIT, 15.0.0-rc1
>            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