Changes since v2: - change a bit some style to make following patches easier; - split patch for small overflows. Frediano Ziglio (10): Reduce indentation returning earlier Minor overflow checks improvements Replace an assert with proper handling code Fix some minor buffer overflows reading registry informations Use always TCHAR to read string from registry Factor out an utility function to read strings from registry vdservice: Do not append line terminator to log Use destructor instead of cleanup function Use enumeration types Minimal message size check vdagent/display_setting.cpp | 102 ++++++++++++------------- vdagent/vdagent.cpp | 145 +++++++++++++++++++++++++----------- vdservice/vdservice.cpp | 2 +- 3 files changed, 155 insertions(+), 94 deletions(-) -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel