[asterisk-bugs] [JIRA] Updated: (ASTERISK-20495) Segfault in XMPP caused by the presence stanza of one of my contacts

Martin W (JIRA) noreply at issues.asterisk.org
Thu Oct 4 12:55:27 CDT 2012


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin W updated ASTERISK-20495:
--------------------------------

    Attachment: 20495.patch

> Segfault in XMPP caused by the presence stanza of one of my contacts
> --------------------------------------------------------------------
>
>                 Key: ASTERISK-20495
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20495
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_xmpp
>    Affects Versions: 11.0.0-beta2
>         Environment: built from head on x86_64 Ubuntu
>            Reporter: Martin W
>            Assignee: Martin W
>         Attachments: 20495.patch
>
>
> Apologies if this report is a dupe or not appropriate here; I am new to the Asterisk source so please go easy.
> Builds of asterisk were causing a segfault at start-up. I traced it to a particular contact whose presence contained the following:
> {code}
> <c ver="mac-2.2.0s" xmlns="http://jabber.org/protocol/caps"/>
> {code}
> It looks like the handling of "node" and "ver" attributes is incorrect: on res_xmpp.c:3144 (r374095).
> To get it running locally I worked around it with the attached patch.
> Hope this is useful.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list