Changeset 82135c7 for protocols


Ignore:
Timestamp:
2007-08-08T09:20:57Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
eda54e4
Parents:
1baaef8
Message:

Not trying to handle typing notifications from unknown buddies anymore
(NULL pointer dereference).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/message.c

    r1baaef8 r82135c7  
    9090               
    9191                /* Handling of incoming typing notifications. */
    92                 if( xt_find_node( node->children, "composing" ) )
     92                if( bud == NULL )
     93                {
     94                        /* Can't handle these for unknown buddies. */
     95                }
     96                else if( xt_find_node( node->children, "composing" ) )
    9397                {
    9498                        bud->flags |= JBFLAG_DOES_XEP85;
Note: See TracChangeset for help on using the changeset viewer.