qemu-e2k/qga
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
..
installer qemu-ga: add missing libpcre to MSI build 2017-07-17 18:58:37 -05:00
vss-win32 qga-win: fix error-handling in getNameByStringSID() 2017-10-26 20:01:32 -05:00
channel-posix.c
channel-win32.c
channel.h
commands-posix.c qga: add network stats to guest-network-get-interfaces 2017-10-25 19:54:11 -05:00
commands-win32.c qga: add network stats to guest-network-get-interfaces 2017-10-25 19:54:11 -05:00
commands.c
guest-agent-command-state.c
guest-agent-core.h
main.c maint: Include bug-reporting info in --help output 2017-08-08 17:28:53 +02:00
Makefile.objs
qapi-schema.json qga: add network stats to guest-network-get-interfaces 2017-10-25 19:54:11 -05:00
service-win32.c
service-win32.h
vss-win32.c Convert single line fprintf(.../n) to warn_report() 2017-09-19 14:09:34 +02:00
vss-win32.h