mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 21:54:15 -04:00
[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:
parent
054035fea8
commit
abb180c2c4
3 changed files with 8 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue