[Bug 35430] New: Crash when disconnecting during authentication

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 18 18:32:43 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=35430

           Summary: Crash when disconnecting during authentication
           Product: Wocky
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: marco.barisione at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


The SASL authentication code can assert in
wocky_auth_registry_success_async_func() (priv->handler is NULL) if we get
disconnected while authenticating. What I think is happening is:
* sasl_auth_stanza_sent() is called;
* this calles wocky_xmpp_connection_recv_stanza_async() passing
  sasl_auth_stanza_received() as callback;
* the connection gets disconnected;
* cleanup happens;
* after this we still receive the stanza;
* sasl_auth_stanza_received is called;
* we handle the stanze, but things go wrong as we already did the cleanup.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list