Changeset 23c4e64 for root_commands.c


Ignore:
Timestamp:
2008-05-11T19:37:34Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
9299891
Parents:
99f929c
Message:

Fixed NULL point dereference in "account set -del" code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    r99f929c r23c4e64  
    422422                else
    423423                        acc_handle = g_strdup( cmd[2] );
     424               
     425                if( !acc_handle )
     426                {
     427                        irc_usermsg( irc, "Not enough parameters given (need %d)", 3 );
     428                        return;
     429                }
    424430               
    425431                if( ( tmp = strchr( acc_handle, '/' ) ) )
Note: See TracChangeset for help on using the changeset viewer.