mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 23:43:39 +00:00
[KERNEL32]
- Fix use of uninitialized variables in failure case. Patch by Samuel Serapión CORE-7302 #resolve svn path=/trunk/; revision=59355
This commit is contained in:
parent
d7f51ee28b
commit
2ce6f4b85d
2 changed files with 2 additions and 2 deletions
|
@ -990,7 +990,7 @@ GetFullPathNameA(IN LPCSTR lpFileName,
|
|||
OUT LPSTR *lpFilePart)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
PWCHAR Buffer;
|
||||
PWCHAR Buffer = NULL;
|
||||
ULONG PathSize, FilePartSize;
|
||||
ANSI_STRING AnsiString;
|
||||
UNICODE_STRING FileNameString, UniString;
|
||||
|
|
|
@ -309,7 +309,7 @@ BaseCreateVDMEnvironment(IN PWCHAR lpEnvironment,
|
|||
{
|
||||
BOOL Result;
|
||||
ULONG RegionSize, EnvironmentSize = 0;
|
||||
PWCHAR p, Environment, NewEnvironment;
|
||||
PWCHAR p, Environment, NewEnvironment = NULL;
|
||||
NTSTATUS Status;
|
||||
|
||||
/* Make sure we have both strings */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue