[asterisk-bugs] [JIRA] (ASTERISK-25323) Asterisk: ongoing segfaults uncovered by CHAOS_DEBUG
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Mon Aug 17 10:41:32 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227262#comment-227262 ]
Richard Mudgett commented on ASTERISK-25323:
--------------------------------------------
[~sgriepentrog] The crash is caused because {{ast_sorcery_alloc()}} does not check the {{ast_strdup()}} return value that assigns the sorcery id member string for failure.
> Asterisk: ongoing segfaults uncovered by CHAOS_DEBUG
> ----------------------------------------------------
>
> Key: ASTERISK-25323
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25323
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.0.0
> Reporter: Scott Griepentrog
> Severity: Minor
>
> Ongoing use of CHAOS_DEBUG on a test server is uncovering extremely unlikely scenarios that can result in a segfault, by use of randomly simulating a failed allocation.
> Rather than create a new issue for each case, I'm grouping them under this single issue as they are found.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list