[asterisk-bugs] [JIRA] (ASTERISK-26776) res_pjsip_pubsub: Crash when generating xpidf content

Friendly Automation (JIRA) noreply at issues.asterisk.org
Wed Mar 22 07:08:11 CDT 2017


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

Friendly Automation commented on ASTERISK-26776:
------------------------------------------------

Change 5171 merged by zuul:
pjsip: prevent memory corruption on creation of xml bodies

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

> res_pjsip_pubsub: Crash when generating xpidf content
> -----------------------------------------------------
>
>                 Key: ASTERISK-26776
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26776
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip_pubsub
>    Affects Versions: 13.13.1
>         Environment: FreePBX 13 SHMZ release 6.6 (Final)
> Linux freepbx 2.6.32-504.8.1.el6.x86_64 #1 SMP Wed Jan 28 21:11:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Cisco 7962 using firmware SIP42.9-4-2SR2-2S
>            Reporter: Andrew Green
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: asterisk console and pjsip log.txt, Asterisk crash on start.txt, backtrace.core.1757 crash on start.txt, backtrace.core.29832.txt, crash-xpidf.txt, dialplan.xml, extensions.conf, malloc-backtrace.txt, pjsip.conf, REGISTER_SUBSCRIBE_client.csv, REGISTER_SUBSCRIBE_client.xml, SEPmachere.cnf.xml, softkeys.xml, valgrind-output.txt, XMLDefault.cnf.xml
>
>
> Asterisk crashes randomly when using chan_pjsip and Cisco 7962 phones. This is the first repeatable bug I found, the other crashes happened when the phone would attempt registration and do not happen after upgrading from 13.12 to 13.13.1. I have not tried other phone firmware versions but I can upon request. Server backtrace is attached.
> Actions to reproduce:
> -Register Cisco 7962 to chan_pjsip using TCP transport (see attached XML config files)
> -Dial an internal three digit extension, call completes correctly
> -After call try typing extension number again and Asterisk will crash and phone will reset indicating lost registration with SIP server. 
> Note: On my phone external numbers do not cause this issue



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



More information about the asterisk-bugs mailing list