[SHELLBTRFS] Upgrade to 1.0.1

CID 1419312

CORE-13896
This commit is contained in:
Pierre Schweitzer 2017-10-16 20:20:21 +02:00
parent 4672b2ba5e
commit fb2a56e02a
2 changed files with 45 additions and 43 deletions

View file

@ -562,6 +562,7 @@ void CALLBACK SendSubvolGUIW(HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int
if (!LookupPrivilegeValueW(NULL, L"SeManageVolumePrivilege", &luid)) {
ShowError(hwnd, GetLastError());
CloseHandle(token);
return;
}
@ -571,6 +572,7 @@ void CALLBACK SendSubvolGUIW(HWND hwnd, HINSTANCE hinst, LPWSTR lpszCmdLine, int
if (!AdjustTokenPrivileges(token, FALSE, &tp, sizeof(TOKEN_PRIVILEGES), NULL, NULL)) {
ShowError(hwnd, GetLastError());
CloseHandle(token);
return;
}