xemu/qga/vss-win32
Michael Roth 8cedc80555 qga-win: fix error-handling in getNameByStringSID()
In one case we misconstrue a BOOL return as an HRESULT, and in the
other case we don't check the BOOL return from LookupAccountSidW()
before extracting the HRESULT from GetLastError(). Both can lead to
getNameByStringSID() misreporting an error.

Reported-by: Chen Hanxiao <chenhanxiao@gmail.com>
Suggested-by: Tomáš Golembiovský <tgolembi@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2017-10-26 20:01:32 -05:00
..
install.cpp qga-win: fix error-handling in getNameByStringSID() 2017-10-26 20:01:32 -05:00
install.h qemu-ga: Make QGA VSS provider service run only when needed 2017-04-26 23:56:46 -05:00
Makefile.objs rules.mak: quiet-command: Split command name and args to print 2016-10-06 12:11:51 +01:00
provider.cpp qga-win: Fix Event Viewer errors caused by qemu-ga 2017-04-26 23:56:47 -05:00
qga-vss.def qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.idl qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
qga-vss.tlb qemu-ga: Add Windows VSS provider and requester as DLL 2013-09-09 14:17:57 -05:00
requester.cpp qga-win: don't hang if vss hold writes timeout 2017-10-25 17:12:26 -05:00
requester.h qga: fix w32 breakage due to missing osdep.h includes 2016-02-25 10:54:32 -06:00
vss-common.h qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00
vss-handles.h qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00