[asterisk-bugs] [JIRA] (ASTERISK-28457) [patch] Fix crash in chan_dahdi on 32-bit systems caused by ASTERISK-28317

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Jul 18 06:22:48 CDT 2019


     [ https://issues.asterisk.org/jira/browse/ASTERISK-28457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-28457:
-------------------------------------

    Target Release Version/s: 13.28.0

> [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: 13.27.0, 16.4.0
>         Environment: AstLinux 1.3.x with 32-bit toolchain
>            Reporter: abelbeck
>            Assignee: Unassigned
>              Labels: patch
>      Target Release: 13.28.0
>
>         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