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

Andrew Nagy (JIRA) noreply at issues.asterisk.org
Fri Dec 21 15:35:47 CST 2018


Andrew Nagy created ASTERISK-28221:
--------------------------------------

             Summary: 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


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