Changeset 6ee9d2d


Ignore:
Timestamp:
2006-06-25T18:25:13Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fd03770
Parents:
88086db
Message:

Forgot to initialize pass_rc4 (which caused memory management mess when
trying to load a damaged XML-file).

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r88086db r6ee9d2d  
    139139                break;
    140140        case STORAGE_OK:
    141                 irc_usermsg( irc, "Password accepted" );
     141                irc_usermsg( irc, "Password accepted, settings and accounts loaded" );
    142142                irc_umode_set( irc, "+R", 1 );
    143143                break;
  • storage_xml.c

    r88086db r6ee9d2d  
    131131        else if( g_strcasecmp( element_name, "account" ) == 0 )
    132132        {
    133                 char *protocol, *handle, *server, *password, *autoconnect;
     133                char *protocol, *handle, *server, *password = NULL, *autoconnect;
    134134                char *pass_b64 = NULL, *pass_rc4 = NULL;
    135135                int pass_len;
Note: See TracChangeset for help on using the changeset viewer.