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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Tue Nov 30 09:48:35 CST 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=257201#comment-257201 ] 

Friendly Automation commented on ASTERISK-29771:
------------------------------------------------

Change 17606 merged by Friendly Automation:
config.c: Prevent UB in ast_realtime_require_field.

[https://gerrit.asterisk.org/c/asterisk/+/17606|https://gerrit.asterisk.org/c/asterisk/+/17606]

> 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: Sean Bright
>            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