mirror of
				https://github.com/pbatard/rufus.git
				synced 2024-08-14 23:57:05 +00:00 
			
		
		
		
	v1.4.8 (build 505)
* Also fix a couple coverity warnings
This commit is contained in:
		
							parent
							
								
									8da527e16e
								
							
						
					
					
						commit
						8007fc0915
					
				
					 5 changed files with 10 additions and 8 deletions
				
			
		|  | @ -4,6 +4,7 @@ o Version 1.4.8 (2014.06.??) | ||||||
|     Add Croatian translation, courtesy of Dario Komar |     Add Croatian translation, courtesy of Dario Komar | ||||||
|     Add Danish translation, courtesy of Jens Hansen |     Add Danish translation, courtesy of Jens Hansen | ||||||
|     Add Latvian translation, courtesy of Aldis Tutins |     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) |     Allow the use of VHDs as DD image source (fixed disk/uncompressed only) | ||||||
|     Report the detected USB speed in the log |     Report the detected USB speed in the log | ||||||
|     Fix a long standing issue when launching Rufus using Far Manager |     Fix a long standing issue when launching Rufus using Far Manager | ||||||
|  |  | ||||||
|  | @ -7,7 +7,7 @@ Features: | ||||||
| - Creates bootable drives from bootable ISOs (Windows, Linux, etc.) | - Creates bootable drives from bootable ISOs (Windows, Linux, etc.) | ||||||
| - Twice as fast as Microsoft's USB/DVD tool or UNetbootin, on ISO->USB (1) | - Twice as fast as Microsoft's USB/DVD tool or UNetbootin, on ISO->USB (1) | ||||||
| - Can perform bad blocks check, with fake drive detection | - 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 | - Small footprint, no installation required | ||||||
| - 100% Free Software (GPL v3) | - 100% Free Software (GPL v3) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -2088,6 +2088,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine | ||||||
| 			hFile = CreateFileA(cmdline_hogger, GENERIC_READ | GENERIC_WRITE, | 			hFile = CreateFileA(cmdline_hogger, GENERIC_READ | GENERIC_WRITE, | ||||||
| 				FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); | 				FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL); | ||||||
| 			if (hFile != INVALID_HANDLE_VALUE) { | 			if (hFile != INVALID_HANDLE_VALUE) { | ||||||
|  | 				// coverity[check_return]
 | ||||||
| 				WriteFile(hFile, hog_data, hog_size, &Size, NULL); | 				WriteFile(hFile, hog_data, hog_size, &Size, NULL); | ||||||
| 			} | 			} | ||||||
| 			safe_closehandle(hFile); | 			safe_closehandle(hFile); | ||||||
|  |  | ||||||
							
								
								
									
										12
									
								
								src/rufus.rc
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								src/rufus.rc
									
										
									
									
									
								
							|  | @ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL | ||||||
| 
 | 
 | ||||||
| IDD_DIALOG DIALOGEX 12, 12, 206, 329 | IDD_DIALOG DIALOGEX 12, 12, 206, 329 | ||||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | 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 | FONT 8, "MS Shell Dlg", 400, 0, 0x1 | ||||||
| BEGIN | BEGIN | ||||||
|     DEFPUSHBUTTON   "Start",IDC_START,94,291,50,14 |     DEFPUSHBUTTON   "Start",IDC_START,94,291,50,14 | ||||||
|  | @ -165,7 +165,7 @@ END | ||||||
| RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329 | RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329 | ||||||
| STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | 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 | 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 | FONT 8, "MS Shell Dlg", 400, 0, 0x1 | ||||||
| BEGIN | BEGIN | ||||||
|     DEFPUSHBUTTON   "Start",IDC_START,94,291,50,14 |     DEFPUSHBUTTON   "Start",IDC_START,94,291,50,14 | ||||||
|  | @ -428,8 +428,8 @@ END | ||||||
| // | // | ||||||
| 
 | 
 | ||||||
| VS_VERSION_INFO VERSIONINFO | VS_VERSION_INFO VERSIONINFO | ||||||
|  FILEVERSION 1,4,8,504 |  FILEVERSION 1,4,8,505 | ||||||
|  PRODUCTVERSION 1,4,8,504 |  PRODUCTVERSION 1,4,8,505 | ||||||
|  FILEFLAGSMASK 0x3fL |  FILEFLAGSMASK 0x3fL | ||||||
| #ifdef _DEBUG | #ifdef _DEBUG | ||||||
|  FILEFLAGS 0x1L |  FILEFLAGS 0x1L | ||||||
|  | @ -446,13 +446,13 @@ BEGIN | ||||||
|         BEGIN |         BEGIN | ||||||
|             VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" |             VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" | ||||||
|             VALUE "FileDescription", "Rufus" |             VALUE "FileDescription", "Rufus" | ||||||
|             VALUE "FileVersion", "1.4.8.504" |             VALUE "FileVersion", "1.4.8.505" | ||||||
|             VALUE "InternalName", "Rufus" |             VALUE "InternalName", "Rufus" | ||||||
|             VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" |             VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)" | ||||||
|             VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" |             VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" | ||||||
|             VALUE "OriginalFilename", "rufus.exe" |             VALUE "OriginalFilename", "rufus.exe" | ||||||
|             VALUE "ProductName", "Rufus" |             VALUE "ProductName", "Rufus" | ||||||
|             VALUE "ProductVersion", "1.4.8.504" |             VALUE "ProductVersion", "1.4.8.505" | ||||||
|         END |         END | ||||||
|     END |     END | ||||||
|     BLOCK "VarFileInfo" |     BLOCK "VarFileInfo" | ||||||
|  |  | ||||||
|  | @ -357,9 +357,9 @@ fallback: | ||||||
| 	} | 	} | ||||||
| 	ext_strlen += safe_strlen(all_files) + sizeof(" (*.*)\r*.*\r"); | 	ext_strlen += safe_strlen(all_files) + sizeof(" (*.*)\r*.*\r"); | ||||||
| 	ext_string = (char*)malloc(ext_strlen+1); | 	ext_string = (char*)malloc(ext_strlen+1); | ||||||
| 	ext_string[0] = 0; |  | ||||||
| 	if (ext_string == NULL) | 	if (ext_string == NULL) | ||||||
| 		return NULL; | 		return NULL; | ||||||
|  | 	ext_string[0] = 0; | ||||||
| 	for (i=0, j=0; i<ext->count; i++) { | 	for (i=0, j=0; i<ext->count; i++) { | ||||||
| 		j += _snprintf(&ext_string[j], ext_strlen-j, "%s (%s)\r%s\r", ext->description[i], ext->extension[i], ext->extension[i]); | 		j += _snprintf(&ext_string[j], ext_strlen-j, "%s (%s)\r%s\r", ext->description[i], ext->extension[i], ext->extension[i]); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue