[asterisk-bugs] [JIRA] (ASTERISK-29312) res_fax: asterisk fails to publish the Stasis and ReceiveFax status messages if the remote Station ID contains invalid UTF-8 characters

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 11 11:48:18 CST 2021


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

Asterisk Team updated ASTERISK-29312:
-------------------------------------

    Target Release Version/s: 18.3.0

> res_fax: asterisk fails to publish the Stasis and ReceiveFax status messages if the remote Station ID contains invalid UTF-8 characters
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29312
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29312
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_fax
>    Affects Versions: 16.16.1
>            Reporter: Alexei Gradinari
>            Assignee: Alexei Gradinari
>              Labels: fax
>      Target Release: 16.17.0, 18.3.0
>
>
> Error log if the Remote Station ID contains invalid UTF-8 characters.
> json.c: Error building JSON from '{s: s, s: s}': Invalid UTF-8 string.
> 0: /usr/sbin/asterisk(ast_json_vpack+0x98) [0x4f3f28]
> 1: /usr/sbin/asterisk(ast_json_pack+0x8c) [0x4f3fcc]
> 2: /usr/sbin/asterisk(ast_channel_publish_varset+0x2b) [0x57aa0b]
> 3: /usr/sbin/asterisk(pbx_builtin_setvar_helper+0x121) [0x530641]
> 4: /usr/lib64/asterisk/modules/res_fax.so(+0x44fe) [0x7f27f4bff4fe]
> ...
> stasis_channels.c: Error creating message
> json.c: Error building JSON from '{s: s, s: s, s: s, s: s, s: s, s: s, s: o}': Invalid UTF-8 string.
> 0: /usr/sbin/asterisk(ast_json_vpack+0x98) [0x4f3f28]
> 1: /usr/sbin/asterisk(ast_json_pack+0x8c) [0x4f3fcc]
> 2: /usr/lib64/asterisk/modules/res_fax.so(+0x5acd) [0x7f27f4c00acd]
> ...
> res_fax.c: Error publishing ReceiveFax status message



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list