diff --git a/ChangeLog.txt b/ChangeLog.txt index c124262e78c..304440199fc 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -4,6 +4,7 @@ o Version 1.4.8 (2014.06.??) Add Croatian translation, courtesy of Dario Komar Add Danish translation, courtesy of Jens Hansen Add Latvian translation, courtesy of Aldis Tutins + Add Portuguese Brazilian translation, courtesy of Chateaubriand Vieira Moura Allow the use of VHDs as DD image source (fixed disk/uncompressed only) Report the detected USB speed in the log Fix a long standing issue when launching Rufus using Far Manager diff --git a/README.txt b/README.txt index c1cde55f7e4..fa542348db8 100644 --- a/README.txt +++ b/README.txt @@ -7,7 +7,7 @@ Features: - Creates bootable drives from bootable ISOs (Windows, Linux, etc.) - Twice as fast as Microsoft's USB/DVD tool or UNetbootin, on ISO->USB (1) - Can perform bad blocks check, with fake drive detection -- Modern and familiar UI, with more than 20 languages natively supported (2) +- Modern and familiar UI, with more than 25 languages natively supported (2) - Small footprint, no installation required - 100% Free Software (GPL v3) diff --git a/src/rufus.c b/src/rufus.c index c52fba1075d..99a4c4895f8 100644 --- a/src/rufus.c +++ b/src/rufus.c @@ -2088,6 +2088,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine hFile = CreateFileA(cmdline_hogger, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); if (hFile != INVALID_HANDLE_VALUE) { + // coverity[check_return] WriteFile(hFile, hog_data, hog_size, &Size, NULL); } safe_closehandle(hFile); diff --git a/src/rufus.rc b/src/rufus.rc index 2921dfb905b..d38a92a3911 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -32,7 +32,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 -CAPTION "Rufus 1.4.8.504" +CAPTION "Rufus 1.4.8.505" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 @@ -165,7 +165,7 @@ END RTL_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_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL -CAPTION "Rufus 1.4.8.504" +CAPTION "Rufus 1.4.8.505" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN DEFPUSHBUTTON "Start",IDC_START,94,291,50,14 @@ -428,8 +428,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 1,4,8,504 - PRODUCTVERSION 1,4,8,504 + FILEVERSION 1,4,8,505 + PRODUCTVERSION 1,4,8,505 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -446,13 +446,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "1.4.8.504" + VALUE "FileVersion", "1.4.8.505" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "1.4.8.504" + VALUE "ProductVersion", "1.4.8.505" END END BLOCK "VarFileInfo" diff --git a/src/stdlg.c b/src/stdlg.c index 3d5fdc03797..c150130b386 100644 --- a/src/stdlg.c +++ b/src/stdlg.c @@ -357,9 +357,9 @@ char* FileDialog(BOOL save, char* path, const ext_t* ext, DWORD options) } ext_strlen += safe_strlen(all_files) + sizeof(" (*.*)\r*.*\r"); ext_string = (char*)malloc(ext_strlen+1); - ext_string[0] = 0; if (ext_string == NULL) return NULL; + ext_string[0] = 0; for (i=0, j=0; icount; i++) { j += _snprintf(&ext_string[j], ext_strlen-j, "%s (%s)\r%s\r", ext->description[i], ext->extension[i], ext->extension[i]); }