PATCH: unitialised

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

sz could be uninitialised in one path (the first goto error).

Ciao, Marcus

Changelog:
	fixed potentially uninitialised sz.

Index: dlls/ntdll/cdrom.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/cdrom.c,v
retrieving revision 1.39
diff -u -r1.39 cdrom.c
--- dlls/ntdll/cdrom.c	4 Nov 2003 04:23:49 -0000	1.39
+++ dlls/ntdll/cdrom.c	13 Dec 2003 13:08:36 -0000
@@ -1694,7 +1694,7 @@
                                LPVOID lpInBuffer, DWORD nInBufferSize,
                                LPVOID lpOutBuffer, DWORD nOutBufferSize)
 {
-    DWORD       sz;
+    DWORD       sz = 0;
     NTSTATUS    status = STATUS_SUCCESS;
     int         dev;
 
-- 


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux