Alexandre Julliard : kernel32:
Always read a full block from the CD-ROM to avoid problems on raw
devices.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Dec 6 05:48:56 CST 2006
Module: wine
Branch: master
Commit: e60a52e74a31520ec734545c1362f6377ede7824
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e60a52e74a31520ec734545c1362f6377ede7824
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Dec 5 23:33:40 2006 +0100
kernel32: Always read a full block from the CD-ROM to avoid problems on raw devices.
---
dlls/kernel32/volume.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c
index 337a8c9..f679250 100644
--- a/dlls/kernel32/volume.c
+++ b/dlls/kernel32/volume.c
@@ -222,7 +222,7 @@ static UINT get_registry_drive_type( con
static DWORD VOLUME_FindCdRomDataBestVoldesc( HANDLE handle )
{
BYTE cur_vd_type, max_vd_type = 0;
- BYTE buffer[16];
+ BYTE buffer[0x800];
DWORD size, offs, best_offs = 0, extra_offs = 0;
for (offs = 0x8000; offs <= 0x9800; offs += 0x800)
More information about the wine-cvs
mailing list