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

nappsoft (JIRA) noreply at issues.asterisk.org
Tue Feb 7 06:41:10 CST 2017


nappsoft created ASTERISK-26772:
-----------------------------------

             Summary: 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
         Attachments: backtrace.txt

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