[asterisk-bugs] [JIRA] (ASTERISK-28221) Bug in ast_coredumper

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Feb 6 05:07:52 CST 2019


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

Asterisk Team updated ASTERISK-28221:
-------------------------------------

    Target Release Version/s: 16.2.0

> Bug in ast_coredumper
> ---------------------
>
>                 Key: ASTERISK-28221
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28221
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: . I did not set the category correctly.
>    Affects Versions: 13.25.0
>            Reporter: Andrew Nagy
>            Severity: Trivial
>      Target Release: 13.25.0, 16.2.0
>
>
> Using /var/lib/asterisk/scripts/ast_coredumper --RUNNING fails to read the /etc/asterisk/asterisk.conf astrundir setting correctly because the regular expression expects a space on either side of the = (or =>).
> On line 393 the line should be changed from:
> {code}
> astrundir=$(sed -n -r -e "s/astrundir\s+[=>]+\s+(.*)/\1/gp" $astetcconf)
> {code}
> to
> {code}
> astrundir=$(sed -n -r -e "s/astrundir\s*[=>]+\s*(.*)/\1/gp" $astetcconf)
> {code}



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



More information about the asterisk-bugs mailing list