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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Fri Jan 4 08:27:47 CST 2019


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

Friendly Automation commented on ASTERISK-28221:
------------------------------------------------

Change 10830 merged by Joshua C. Colp:
ast_coredumper:  Refactor the pid determination process

[https://gerrit.asterisk.org/10830|https://gerrit.asterisk.org/10830]

> 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