Changeset 38ff846


Ignore:
Timestamp:
2010-06-24T01:06:49Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
051372c, 8b8def58
Parents:
d6aa6dd
Message:

Fixed an access-after-free() bug in the Jabber keepalive + cache cleanup
code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/jabber.c

    rd6aa6dd r38ff846  
    474474{
    475475        /* Just any whitespace character is enough as a keepalive for XMPP sessions. */
    476         jabber_write( ic, "\n", 1 );
     476        if( !jabber_write( ic, "\n", 1 ) )
     477                return;
    477478       
    478479        /* This runs the garbage collection every minute, which means every packet
Note: See TracChangeset for help on using the changeset viewer.