win32-vd_agent/vdagent
Sameeh Jubran 107b351795 Fixing buffer overflow when reloading wallpaper
The function "SystemParametersInfo" expects the size of the
buffer in characters. When wchar is used instead of char - two
bytes instead of one byte per character -, then "sizeof" returns wrong
number of characters (twice as much). A suitable solution would be to use
SPICE_N_ELEMENTS.

Based on patch by Sandy Stutsman <sstutsma@redhat.com>

Signed-off-by: Dmitry Fleytman <dfleytma@redhat.com>
Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
2016-08-01 14:23:28 +02:00
..
as_user.cpp vdagent: as_user: reorder initialization to make mingw-gcc happy 2014-12-30 17:17:24 +02:00
as_user.h vdagent: add as_user to run tasks with user privileges 2013-11-13 10:24:59 +02:00
desktop_layout.cpp Check for set-monitors-position capability from client. 2015-08-06 12:01:45 +02:00
desktop_layout.h Check for set-monitors-position capability from client. 2015-08-06 12:01:45 +02:00
display_setting.cpp Fixing buffer overflow when reloading wallpaper 2016-08-01 14:23:28 +02:00
display_setting.h mingw: use const char * in DisplaySetting() 2012-03-01 12:59:05 +01:00
file_xfer.cpp vdagent-win: Fix compile under MingW 2015-04-30 14:01:01 +02:00
file_xfer.h Use wide characters in drap&drop code 2015-04-30 13:21:48 +02:00
resource.h fresh start 2009-11-05 13:02:54 +02:00
vdagent.cpp vdagent-win: check for locked session 2016-05-09 12:40:24 +02:00
vdagent.rc vdagent: add win7 support to service for launching agent 2009-12-23 15:31:01 +02:00
vdagent.vcproj vdagent: add as_user to run tasks with user privileges 2013-11-13 10:24:59 +02:00