qemu-e2k/qga
Marc-André Lureau 25d943b957 qga: fix off-by-one length check
Laszlo Ersek said: "The length check is off by one (in the safe direction); it
should be (nchars >= 2). The processing should be active for the wide string
L"\r\n" -- resulting in the empty wide string --, I believe."

Reported-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-02-25 09:48:51 -06:00
..
installer qemu-ga: Fixed minor version switch issue 2016-02-25 09:48:51 -06:00
vss-win32 all: Clean up includes 2016-02-23 12:43:05 +00:00
Makefile.objs qemu-ga: Call Windows VSS requester in fsfreeze command handler 2013-09-09 14:17:57 -05:00
channel-posix.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
channel-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
channel.h qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
commands-posix.c qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
commands-win32.c qga: fix off-by-one length check 2016-02-25 09:48:51 -06:00
commands.c qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
guest-agent-command-state.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
guest-agent-core.h qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
main.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
qapi-schema.json qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
service-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
service-win32.h qga: save state directory in ga_install_service() 2013-05-30 11:37:37 -05:00
vss-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
vss-win32.h all: Clean up includes 2016-02-23 12:43:05 +00:00