Show
Ignore:
Timestamp:
10/03/08 12:54:00 (3 months ago)
Author:
mwhitworth
Message:

Remove strcpy, replace calls to strcpy with strncpy, misc formatting fixes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/fs/vfs/dir.c

    r930 r1079  
    473473        { 
    474474                /* Special case, why search for the root directory when it's known? */ 
    475                 strcpy(current->sCwd, dirName); 
     475                strncpy(current->sCwd, dirName, PATH_MAX); 
    476476 
    477477                if (current->cwd != current->root)