[asterisk-bugs] [JIRA] (ASTERISK-28649) Segfault: ast_variables_destroy #channel_vars #set_var #sorcery_realtime
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Wed Dec 4 14:23:32 CST 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=248963#comment-248963 ]
Asterisk Team commented on ASTERISK-28649:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.
> Segfault: ast_variables_destroy #channel_vars #set_var #sorcery_realtime
> ------------------------------------------------------------------------
>
> Key: ASTERISK-28649
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28649
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_realtime
> Affects Versions: 16.5.0, 16.6.2
> Environment: CentOS Linux release 7.6.1810 (Core)
> 3.10.0-957.27.2.el7.x86_64
> Asterisk build: asterisk-16.6.2
> Alembic Version: 3a094a18e75b
> Reporter: John Bowen
>
> Using sorcery realtime, if the column ps_endpoints.set_var` contains more than 16 characters a segfault occurs during the loading of endpoints.
> This, however, does not occur when statically defining endpoints in pjsip.conf.
> Reproduce with:
> 1) Create three endpoints (odbc, realtime)
> 2) UPDATE ps_endpoints SET set_var = 'abc=1234567890abc' WHERE id is NOT NULL
> 3) Reload asterisk
> Notes:
> - All 3 endpoints must have channel_vars > 16 characters, the issue is not reproducable if only 2 endpoints have channel_vars > 16 chars
> - This issue was not present in 13.17.2 (using pjsip bundled)
> I'll be posting my findings as I dig into the code, but wanted to make core and other users aware of the issue first.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list