History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LM-62
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Mikael Hallendal
Reporter: Daniel Holbach
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Loudmouth

Crashes when connecting to server that requires STARTTLS

Created: 06/Oct/06 06:53 PM   Updated: 15/Mar/07 07:23 PM
Component/s: Protocol
Affects Version/s: 1.1.3
Fix Version/s: 1.3.1

Issue Links:
Relates
This issue relates to:
LM-20 Support for STARTTLS (XMPP 1.0) Major Resolved
 


 Description  « Hide
Forwarded from: https://launchpad.net/distros/ubuntu/+source/loudmouth/+bug/64372

After loudmouth has connected to the server and sent the initial handshake, just when the reply is being received, connection_connect_cb is called with some strange arguments:

connection_data->fd == 0
connection_data->connection == 0x1
condition == G_IO_OUT

g_io_channel_unix_get_fd (source) still returns the correct fd.

The actual crash happens when connection_data->connection is used as a pointer.

The attached patch contains a work-around for the problem, but the actual cause is still to be fixed.

Crash workaround: http://librarian.launchpad.net/4688236/loudmouth-crashfix.diff
test-lm output: http://librarian.launchpad.net/4688268/test-lm-output



 All   Comments   Change History      Sort Order:
Mikael Hallendal - [24/Feb/07 03:55 AM ]
This should now work in the upcoming 1.3.1 unstable version.