Changeset c7cf9d6 for protocols/jabber


Ignore:
Timestamp:
2005-11-29T00:43:15Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ef53ba8
Parents:
f712188
Message:

This should fix a crash bug in Jabber module (NULL pointer dereference on broken Jabber/SSL connections).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rf712188 rc7cf9d6  
    546546        gjconn gjc;
    547547       
     548        if (source == NULL) {
     549                STATE_EVT(JCONN_STATE_OFF)
     550                return;
     551        }
     552       
    548553        if (!g_slist_find(get_connections(), gc)) {
    549554                ssl_disconnect(source);
     
    553558        jd = gc->proto_data;
    554559        gjc = jd->gjc;
    555        
    556         if (source == NULL) {
    557                 STATE_EVT(JCONN_STATE_OFF)
    558                 return;
    559         }
    560560       
    561561        gjab_connected(data, gjc->fd, cond);
Note: See TracChangeset for help on using the changeset viewer.