mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
RtlCreateUserProcess was not checking for failure of mapping the executable file and returning that error
svn path=/trunk/; revision=1460
This commit is contained in:
parent
af9693f4da
commit
8bdd137c8f
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: process.c,v 1.21 2000/10/08 16:32:52 dwelch Exp $
|
/* $Id: process.c,v 1.22 2000/12/09 04:34:52 phreak Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS system libraries
|
* PROJECT: ReactOS system libraries
|
||||||
|
@ -312,7 +312,8 @@ RtlCreateUserProcess (
|
||||||
Status = RtlpMapFile(Ppb,
|
Status = RtlpMapFile(Ppb,
|
||||||
&hSection,
|
&hSection,
|
||||||
ImageFileName);
|
ImageFileName);
|
||||||
|
if( !NT_SUCCESS( Status ) )
|
||||||
|
return Status;
|
||||||
/*
|
/*
|
||||||
* Create a new process
|
* Create a new process
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue