mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-28 13:44:15 -04: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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue