[asterisk-bugs] [JIRA] (ASTERISK-26772) Crash in srv.c on startup with pjsip

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Feb 8 09:56:10 CST 2017


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

Friendly Automation commented on ASTERISK-26772:
------------------------------------------------

Change 4900 merged by zuul:
srv: Fix crash when ast_srv_lookup is used and 0 records are returned.

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

> Crash in srv.c on startup with pjsip
> ------------------------------------
>
>                 Key: ASTERISK-26772
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26772
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/DNS
>    Affects Versions: 13.14.0
>         Environment: Linux gcc 4.9.3 musl 1.1.15
>            Reporter: nappsoft
>            Assignee: Joshua Colp
>         Attachments: backtrace.txt, srv_lookup.patch
>
>
> First of all: version is 13.14.0-rc1, but this version does not seem to exist yet in the bugtracker...
> And now about the issue: As soon as I configure a host with a hostname instead of an ip in pjsip.conf (registration, aor and identify section) asterisk 13.14.0-rc1 crashes during startup. This didn't happen with 13.13.1 as res_pjsip_endpoint_identifier_ip.c did not use ast_srv_lookup.
> I'm able to work around the issue by either using IP addresses instead of hostnames or by applying the attached patch.
> Backtrace attached



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



More information about the asterisk-bugs mailing list