kernel32: Always read a full block from the CD-ROM to avoid problems on raw devices.

This commit is contained in:
Alexandre Julliard 2006-12-05 23:33:40 +01:00
parent 104e1cf6dd
commit e60a52e74a
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ static UINT get_registry_drive_type( const WCHAR *root )
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)