xemu/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 sockets: Limit SocketAddressLegacy to external interfaces 2017-05-09 09:14:40 +02:00
channel-win32.c qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
channel.h qga: add systemd socket activation support 2017-03-06 00:54:18 -06:00
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 qapi: merge QInt and QFloat in QNum 2017-06-20 14:31:31 +02:00
guest-agent-command-state.c qga: free remaining leaking state 2016-09-08 17:57:32 +04:00
guest-agent-core.h qapi: Support multiple command registries per program 2017-03-05 09:12:25 +01:00
main.c maint: Include bug-reporting info in --help output 2017-08-08 17:28:53 +02:00
Makefile.objs qemu-ga: Call Windows VSS requester in fsfreeze command handler 2013-09-09 14:17:57 -05:00
qapi-schema.json qga: add network stats to guest-network-get-interfaces 2017-10-25 19:54:11 -05:00
service-win32.c qga: Remove unnecessary glib.h includes 2016-06-07 18:19:24 +03:00
service-win32.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
vss-win32.c Convert single line fprintf(.../n) to warn_report() 2017-09-19 14:09:34 +02:00
vss-win32.h qga-win: Fix a bug where qemu-ga service is stuck during stop operation 2017-04-26 23:56:47 -05:00