[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

@ -5,7 +5,7 @@ o Version 1.4.0 (2013.12.02)
- French, courtesy of myself ("Je vais me gêner !")
- German, courtesy of Thilo Langbein
- Greek, courtesy of Konstantinos and Nikolaos Margaritis
- Hugarian, courtesy of georg1136
- Hungarian, courtesy of georg1136
- Italian, courtesy of bovirus
- Korean, courtesy of 나두야간다
- Lithuanian, courtesy of Gintaras Venslovas
@ -17,7 +17,7 @@ o Version 1.4.0 (2013.12.02)
- More to come, more wanted! See http://rufus.akeo.ie/translations
Add "smart" detection of USB HDD vs USB Flash Drive
Add retry when writing ISO files
Add detection and display VID:PID for the target device (in the log)
Add detection and display of VID:PID for the target device (in the log)
Updated Syslinux to v4.0.7
Fixed some issues with DOS localization
Fixed FAT32 formatting for large and GPT disks

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;

View File

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 206, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Rufus v1.4.0.343"
CAPTION "Rufus v1.4.0.344"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
@ -288,8 +288,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,0,343
PRODUCTVERSION 1,4,0,343
FILEVERSION 1,4,0,344
PRODUCTVERSION 1,4,0,344
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -306,13 +306,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "1.4.0.343"
VALUE "FileVersion", "1.4.0.344"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2013 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "1.4.0.343"
VALUE "ProductVersion", "1.4.0.344"
END
END
BLOCK "VarFileInfo"