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
Makefile.objs
provider.cpp
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
vss-handles.h