PATCH: unitialised
Marcus Meissner
marcus at jet.franken.de
Sat Dec 13 07:14:01 CST 2003
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;
--
More information about the wine-patches
mailing list