Changeset 34337a7


Ignore:
Timestamp:
2007-02-18T22:46:21Z (18 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
dcf0f3e
Parents:
0f4c1bb5
Message:

Fixed a possible issue with corrupted .nicks files in text_load().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • storage_text.c

    r0f4c1bb5 r34337a7  
    9898        while( fscanf( fp, "%s %d %s", s, &proto, nick ) > 0 )
    9999        {
    100                 if( ( acc = acc_lookup[proto] ) == NULL )
     100                if( proto < 0 || proto > 8 || ( acc = acc_lookup[proto] ) == NULL )
    101101                        continue;
    102102               
Note: See TracChangeset for help on using the changeset viewer.