Changeset 644:8f4a12d75b91 for color.c

Show
Ignore:
Timestamp:
1998-12-16 02:34:45 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
HEAD
Message:

Fix a segfault noted by Stephan Hack. (Fix noted by Vikas.)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • color.c

    r636 r644  
    510510      int i; 
    511511 
    512       strfcpy(buf, tmp->pattern, sizeof(buf)); 
     512      strfcpy(buf, NONULL(tmp->pattern), sizeof(buf)); 
    513513      mutt_check_simple (buf, sizeof (buf), NONULL(SimpleSearch)); 
    514514      if((tmp->color_pattern = mutt_pattern_comp (buf, M_FULL_MSG, err)) == NULL)