projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f719d20
)
dtappbuilder: Coverity (memory corruption)
author
Jon Trulson
<jon@radscan.com>
Fri, 26 Dec 2014 21:14:32 +0000
(14:14 -0700)
committer
Jon Trulson
<jon@radscan.com>
Fri, 26 Dec 2014 21:14:32 +0000
(14:14 -0700)
cde/programs/dtappbuilder/src/ab/ui_util.c
patch
|
blob
|
history
diff --git
a/cde/programs/dtappbuilder/src/ab/ui_util.c
b/cde/programs/dtappbuilder/src/ab/ui_util.c
index 9203d8ab4778a9de8249a9834cc188afb10c0c20..9c5bbf16bbeb380751c0f67b15311e48bcc6600e 100644
(file)
--- a/
cde/programs/dtappbuilder/src/ab/ui_util.c
+++ b/
cde/programs/dtappbuilder/src/ab/ui_util.c
@@
-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;
}