Changeset 77fc000c


Ignore:
Timestamp:
2008-12-13T19:46:56Z (16 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
549545b
Parents:
de49316
Message:

Added argument count check to "add -tmp" to prevent NULL dereference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • root_commands.c

    rde49316 r77fc000c  
    557557        if( g_strcasecmp( cmd[1], "-tmp" ) == 0 )
    558558        {
     559                MIN_ARGS( 3 );
    559560                add_on_server = 0;
    560561                cmd ++;
Note: See TracChangeset for help on using the changeset viewer.