[JDEV] Re: Bug in AIM transport ?

admin at jabber.fsinf.de admin at jabber.fsinf.de
Tue Jul 2 05:50:38 CDT 2002


On Tue, 2 Jul 2002, tomash wrote:

> I found bug in aim-transport (not sure about version, last entry in
> changelog is from 03-21-2002).

Try sending a "jabber:iq:version" packet to it :-).

> Crash situation description:
> gdb shows, that crash occurs in iq_cb.c.
>      s = at_session_find_by_jid(ti, jp->from);
> on line 13 returns NULL and next "if" condition tries to dereference it.

Thanks, should be fixed in the stable snapshot (2002-07-02).

[---]
    s = at_session_find_by_jid(ti, jp->from);

    if(jpacket_subtype(jp) != JPACKET__GET ||
      (s && ((!s->icq && jp->to->user) || (s->icq && s->icq_vcard_response))))
    {
[---]

If anyone has a better solution please let me know.

Regards




More information about the JDev mailing list