Go to file
Frediano Ziglio 13fb63e328 Fix some minor buffer overflows reading registry informations
Strings in the registry can be not NUL-terminated.
Current code to make sure they are NUL-terminated can add an extra
NUL character at the end of the buffer.
Also RegQueryValueEx returns the number of bytes read, not the number
of characters so the value must be fixed to avoid overflows.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
2018-06-29 19:22:42 +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@666b5c5780 Check for set-monitors-position capability from client. 2015-08-06 12:01:45 +02:00
tests clipboard tester 2010-08-23 19:43:39 +03:00
vdagent Fix some minor buffer overflows reading registry informations 2018-06-29 19:22:42 +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