mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtappbuilder: Coverity (memory corruption)
This commit is contained in:
parent
f719d20b6c
commit
2e7ab68300
1 changed files with 2 additions and 1 deletions
|
@ -1121,7 +1121,8 @@ sync_timeout_proc(
|
||||||
event.xclient.window = window;
|
event.xclient.window = window;
|
||||||
event.xclient.message_type = 0;
|
event.xclient.message_type = 0;
|
||||||
event.xclient.format = 32;
|
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;
|
event.xclient.data.l[i] = sync_notify_value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue