Go to file
Frediano Ziglio 7b368a134f Allow one more character reading strings from registry
The strings in the registry are usually NUL-terminated but this
is not a requirement.
Handle the case when the string, considering the terminator, fit
into the reading buffer. In this case accept the string. In the
case the string fit into the buffer but is not terminated
returns ERROR_MORE_DATA (the error that would be returned if the
string didn't fit in the buffer as there is no place to add the
terminator).

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2018-07-05 14:12:33 +01:00
build-aux build-sys: Use git-version-gen 2012-10-31 10:11:47 +01:00
common Reuse spice-protocol macros instead of defining new ones for alignment 2018-06-28 02:17:32 +01:00
spice-protocol@dca5931a3a Reduce indentation returning earlier 2018-07-04 05:33:22 +01:00
tests clipboard tester 2010-08-23 19:43:39 +03:00
vdagent Allow one more character reading strings from registry 2018-07-05 14:12:33 +01:00
vdservice vdservice: Do not append line terminator to log 2018-06-29 18:51:06 +01:00
.gitmodules Use spice-protocol submodule 2012-05-24 13:55:31 +02:00
autogen.sh build-sys: Fix autogen.sh permissions 2012-10-01 19:20:22 +02:00
configure.ac Do not use dash in rpm version 2017-08-07 12:20:59 +01:00
git.mk Update git.mk file 2017-07-27 11:03:50 +01:00
Makefile.am msi: Do not generate deps.txt 2018-05-28 14:45:08 +01:00
mingw-spice-vdagent.spec.in Do not use dash in rpm version 2017-08-07 12:20:59 +01:00
NEWS build: Update NEWS file for 0.9.0 release 2017-08-14 12:57:33 +03:00
spice-vdagent.wxs.in msi: Do not generate deps.txt 2018-05-28 14:45:08 +01:00
test-log Add a test for logging functions 2017-07-26 16:16:16 +01:00
test-png Add test for PNG files 2017-07-26 10:51:15 +01:00
vdagent.sln Revert "vdagent: add vdagent_helper to support mouse when UAC dialog takes focus" 2013-04-22 11:17:40 +03:00