[core] layout buffer is to small for drives with weird partitioning

* If you have a bunch of extended partitions, 1024 may not be enough
* Issue reported by Bart Zorn
* Also fix a ChangeLog typo
This commit is contained in:
Pete Batard 2013-12-03 23:56:43 +00:00
parent 054035fea8
commit abb180c2c4
3 changed files with 8 additions and 8 deletions

View file

@ -458,7 +458,7 @@ BOOL GetDrivePartitionData(DWORD DriveIndex, char* FileSystemName, DWORD FileSys
BOOL r;
HANDLE hPhysical;
DWORD size;
BYTE geometry[128], layout[1024], part_type;
BYTE geometry[128], layout[4096], part_type;
void* disk_geometry = (void*)geometry;
void* drive_layout = (void*)layout;
PDISK_GEOMETRY_EX DiskGeometry = (PDISK_GEOMETRY_EX)disk_geometry;