[asterisk-bugs] [JIRA] (ASTERISK-29771) Crash occurs when 2 realtime sippeers mysql connections are configured and we have a schema warning

Sean Bright (JIRA) noreply at issues.asterisk.org
Sun Nov 28 15:04:34 CST 2021


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

Sean Bright updated ASTERISK-29771:
-----------------------------------

    Component/s:     (was: Channels/chan_sip/DatabaseSupport)
                     (was: Addons/res_config_mysql)
                 Core/Configuration

> Crash occurs when 2 realtime sippeers mysql connections are configured and we have a schema warning
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29771
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29771
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Configuration
>    Affects Versions: 16.20.0
>         Environment: OS: Oracle Linux 8.3
> MariaDB 10.3 (Galera Cluster)
>            Reporter: Mario Ban
>            Assignee: Mario Ban
>            Severity: Major
>              Labels: patch
>         Attachments: 0001-config.c-Prevent-UB-in-ast_realtime_require_field.patch, core_info.txt, debug_log_29771_crash.txt, extconfig.conf
>
>
> Crash occurs when starting Asterisk and we have 2 realtime sippeers mysql connections configured (with priorities 1 and 2) and there is a sippeers (sipfriends) schema WARNING logged.
> In our case it was column ipaddr varchar(15) was less than 45
> After we altered the table and set ipaddr to varchar(45) - no crash anymore
> Also if there is only 1 realtime connection but still with ipaddr varchar(15) - no crash
> I can provide some debugging output



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



More information about the asterisk-bugs mailing list