mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:56:56 +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)
|
OUT LPSTR *lpFilePart)
|
||||||
{
|
{
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PWCHAR Buffer;
|
PWCHAR Buffer = NULL;
|
||||||
ULONG PathSize, FilePartSize;
|
ULONG PathSize, FilePartSize;
|
||||||
ANSI_STRING AnsiString;
|
ANSI_STRING AnsiString;
|
||||||
UNICODE_STRING FileNameString, UniString;
|
UNICODE_STRING FileNameString, UniString;
|
||||||
|
|
|
@ -309,7 +309,7 @@ BaseCreateVDMEnvironment(IN PWCHAR lpEnvironment,
|
||||||
{
|
{
|
||||||
BOOL Result;
|
BOOL Result;
|
||||||
ULONG RegionSize, EnvironmentSize = 0;
|
ULONG RegionSize, EnvironmentSize = 0;
|
||||||
PWCHAR p, Environment, NewEnvironment;
|
PWCHAR p, Environment, NewEnvironment = NULL;
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
/* Make sure we have both strings */
|
/* Make sure we have both strings */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue