SegFault in jabber protocol.

Alexey Nezhdanov snakeru at gmail.com
Sat Jun 30 03:48:19 EDT 2007


Hello. I have experienced a segfault in my application that uses gaim beta6 as 
a backend. I have checked source - at least pidgin 2.0.2 have same problem.

I think that simple check
if (!js) return NULL;
needs to be added (apart from the fact that it probably should not happen in 
the first place that message is being sent over disconnected connection).

#0  jabber_buddy_find (js=0x0, name=0xb4f89e14 "xxxxxx at gmail.com", create=1) 
at buddy.c:71
#1  0xb5246e85 in jabber_message_send_im (gc=0xa840618, who=0xb4f89e14 
"riyatheresa14 at gmail.com",
    msg=0xb5849ed4 "Riya Theresa Bye Till 22nd, this is my IM Page on SNIMMER. 
You can chat with me there: http://dhananjay98.snimmer.com/", flags=0) at 
message.c:510
#2  0xb551e57b in serv_send_im (gc=0xa840618, name=0xb4f89e14 
"riyatheresa14 at gmail.com",
    message=0xb5849ed4 "Riya Theresa Bye Till 22nd, this is my IM Page on 
SNIMMER. You can chat with me there: http://dhananjay98.snimmer.com/", 
flags=0) at server.c:135
#3  0xb5577f9b in pygaim_server_serv_send_im (self=0x0, args=0xb584d5a4) at 
generated.c:5632
#4  0xb5944271 in ?? ()
#5  0x00000000 in ?? ()

-- 
Respectfully
Alexey Nezhdanov




More information about the Devel mailing list