qemu-e2k/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
provider.cpp qga-win: Fix Event Viewer errors caused by qemu-ga 2017-04-26 23:56:47 -05:00
qga-vss.def
qga-vss.idl
qga-vss.tlb
requester.cpp qga-win: don't hang if vss hold writes timeout 2017-10-25 17:12:26 -05:00
requester.h
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