dtappbuilder: Coverity (memory corruption)

This commit is contained in:
Jon Trulson 2014-12-26 14:14:32 -07:00
parent f719d20b6c
commit 2e7ab68300
1 changed files with 2 additions and 1 deletions

View File

@ -1121,7 +1121,8 @@ sync_timeout_proc(
event.xclient.window = window;
event.xclient.message_type = 0;
event.xclient.format = 32;
for (i = 0; i < 8; ++i)
/* data.l[] can hold only 5 longs */
for (i = 0; i < 5; ++i)
{
event.xclient.data.l[i] = sync_notify_value;
}