Juan Lang : ntdll: Initialize a variable.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Apr 11 05:05:04 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: fced68672f9c71b1ceb94837ca7697cea8e2d2c3
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=fced68672f9c71b1ceb94837ca7697cea8e2d2c3
Author: Juan Lang <juan_lang at yahoo.com>
Date: Mon Apr 10 21:32:33 2006 -0700
ntdll: Initialize a variable.
Fix an uninitialized pointer in RtlCreateUserThread, caught by
coverity.
---
dlls/ntdll/thread.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index 6e3d019..b4226f9 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -370,7 +370,7 @@ NTSTATUS WINAPI RtlCreateUserThread( HAN
struct ntdll_thread_data *thread_data;
struct ntdll_thread_regs *thread_regs = NULL;
struct startup_info *info = NULL;
- void *addr;
+ void *addr = NULL;
HANDLE handle = 0;
TEB *teb;
DWORD tid = 0;
More information about the wine-cvs
mailing list