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/kernel/process.c

    r984 r1079  
    8484        /* Allocate the process's name - used when listing processes or when faulting. */ 
    8585        process->name=(char*)MemAlloc(strlen(name)+1); 
    86         strcpy(process->name, name); 
     86        strncpy(process->name, name, strlen(name)); 
    8787 
    8888        process->pid=pid++;