modify nullcient to use google talk

enst enst.bupt at
Thu Mar 26 01:52:59 EDT 2009

I have tried both 2.5.3 and 2.5.5.
It crashed many times.

yesterday when I use gdb to debug 2.5.3

static char *jabber_prep_resource(char *input) {
char hostname[256]; /* current hostname */

/* Empty resource == don't send any */
if (*input == '\0') /////crash here
return NULL;

After I found that, I add /sth after xxxx at It's OK.

today, when I try to debug it again. it is strange that when I miss the 
/Resource, it also connected successfully.
now I can not let it crash again.

Etan Reisner 写道:
> On Wed, Mar 25, 2009 at 05:37:52PM +0800, enst wrote:
>> thank you
>> when I use gdb to debug. I found that I missed the /Resource. It causes the
>> segment fault.
>> I dont't need to set connect_server.
> What version of libpurple and what was the backtrace? Not specifying a
> resource should not cause a crash.
>     -Etan

More information about the Devel mailing list