PennMUSH Community

Changeset 1256

Show
Ignore:
Timestamp:
09/11/08 21:22:42 (3 months ago)
Author:
shawnw
Message:

#7634: Extra guard against null function names

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/branches/devel/src/function.c

    r1245 r1256  
    10011001{ 
    10021002  FUN *fp; 
     1003 
     1004  if (!name || name[0] == '\0') 
     1005    return; 
    10031006  fp = slab_malloc(function_slab, NULL); 
    10041007  memset(fp, 0, sizeof(FUN));