[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 05:24:39 CDT 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-27318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=239038#comment-239038 ]
Friendly Automation commented on ASTERISK-27318:
------------------------------------------------
Change 6668 merged by Jenkins2:
main/strings: Fix uninitialized value.
[https://gerrit.asterisk.org/6668|https://gerrit.asterisk.org/6668]
> 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