Changeset cce1b63


Ignore:
Timestamp:
2014-02-27T23:46:35Z (6 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
6a0cb16
Parents:
6ae1056
git-author:
Daniel Albers <daniel@…> (27-02-14 23:46:35)
git-committer:
dequis <dx@…> (27-02-14 23:46:35)
Message:

Fix for null pointer in nick_gen (Ticket #1101)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nick.c

    r6ae1056 rcce1b63  
    210210                                                              "UTF-8", "", NULL, NULL, NULL );
    211211               
    212                 if( chop && ( s = strchr( part, chop ) ) )
     212                if( part && chop && ( s = strchr( part, chop ) ) )
    213213                        len = MIN( len, s - part );
    214214               
Note: See TracChangeset for help on using the changeset viewer.