[asterisk-bugs] [JIRA] (ASTERISK-28457) [patch] Fix crash in chan_dahdi on 32-bit systems caused by ASTERISK-28317
Friendly Automation (JIRA)
noreply at issues.asterisk.org
Tue Jul 2 08:30:47 CDT 2019
[ https://issues.asterisk.org/jira/browse/ASTERISK-28457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=247519#comment-247519 ]
Friendly Automation commented on ASTERISK-28457:
------------------------------------------------
Change 11513 merged by Joshua Colp:
chan_dahdi.c: crash in chan_dahdi
[https://gerrit.asterisk.org/c/asterisk/+/11513|https://gerrit.asterisk.org/c/asterisk/+/11513]
> [patch] Fix crash in chan_dahdi on 32-bit systems caused by ASTERISK-28317
> --------------------------------------------------------------------------
>
> Key: ASTERISK-28457
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28457
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_dahdi
> Affects Versions: 16.4.0, 13.27.0
> Environment: AstLinux 1.3.x with 32-bit toolchain
> Reporter: abelbeck
> Assignee: Unassigned
> Labels: patch
> Attachments: asterisk-13-fix-chan_dahdi-add-logical-group.patch, asterisk-16-fix-chan_dahdi-add-logical-group.patch
>
>
> With the addition of ASTERISK-28317, chan_dahdi crashes on 32-bit systems when calling ast_json_pack()
> {noformat}
> segfault at 1 ip 40421dcd sp 4334a990 error 4 in libjansson.so.4.11.1[4041d000+b000]
> {noformat}
> The crash occurs whenever the first DAHDI call occurs.
> A tested fix is provided as 13/16 patches.
> Since 'group' is an unsigned long long, it must be cast as 'ast_json_int_t' along with a JSON type 'I' to work on 32-bit systems.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list