[asterisk-bugs] [JIRA] (ASTERISK-18078) [patch] Segfault when publishing device states via XMPP and not connected

SImone Freddio (JIRA) noreply at issues.asterisk.org
Wed Oct 24 14:41:18 CDT 2012


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

SImone Freddio edited comment on ASTERISK-18078 at 10/24/12 2:39 PM:
---------------------------------------------------------------------

i guys, i have tried to adding a simple check on aji_publish_device_state and on my system it seems to work well. i can't attach the patch, how can i share my code with you? cut&paste ?
                
      was (Author: siouxes):
    i guys, i have tried to adding a simple check on aji_publish_device_state and on my system it seems to work well. I have attached my patch.
                  
> [patch] Segfault when publishing device states via XMPP and not connected
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-18078
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18078
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_jabber
>    Affects Versions: SVN, 1.8.4, 1.8.5.0
>            Reporter: Michael L. Young
>            Severity: Critical
>         Attachments: gdb290812.txt, res_jabber-segfault-pubsub-not-connected2.patch, res_jabber-segfault-pubsub-not-connected.patch
>
>
> When using XMPP PubSub to distribute device states, if the XMPP server disappears and Asterisk tries to publish device states, we will segfault.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list