Changeset d6657ce


Ignore:
Timestamp:
2010-09-05T23:30:40Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
674a01d
Parents:
ed320e8
Message:

Fix NULL pointer dereference when removing nicks from groupchats.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • irc_im.c

    red320e8 rd6657ce  
    530530        irc_channel_t *ic = c->ui_data;
    531531       
    532         if( ic == NULL )
     532        if( ic == NULL || bu == NULL )
    533533                return FALSE;
    534534       
  • protocols/bee_chat.c

    red320e8 rd6657ce  
    196196        }
    197197       
    198         if( bee->ui->chat_remove_user )
     198        if( bee->ui->chat_remove_user && bu )
    199199                bee->ui->chat_remove_user( bee, c, bu );
    200200}
Note: See TracChangeset for help on using the changeset viewer.