Changeset 774 for Whitix/branches

Show
Ignore:
Timestamp:
07/10/08 00:13:49 (5 months ago)
Author:
mwhitworth
Message:

Add extra checks, use name copied into kernel memory in SysCreateProcess.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/fs/fs/vfs/load.c

    r770 r774  
    401401        err=ExecSetupFs(process, fds); 
    402402 
     403        if (err) 
     404                return err; 
     405 
    403406        /* Keep going through all formats until we run out of formats, then return false */ 
    404407        err=ExecElf(&execArgs); 
     
    821824        if (copiedName) 
    822825        { 
    823                 err=Exec(pathName,fds,argv); 
     826                err=Exec(copiedName, fds, argv); 
    824827                free(copiedName); 
    825828        }