From 2e7ab683000af6ea33b85f29b5aab046836ded28 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Fri, 26 Dec 2014 14:14:32 -0700 Subject: [PATCH] dtappbuilder: Coverity (memory corruption) --- cde/programs/dtappbuilder/src/ab/ui_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cde/programs/dtappbuilder/src/ab/ui_util.c b/cde/programs/dtappbuilder/src/ab/ui_util.c index 9203d8ab..9c5bbf16 100644 --- 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; } -- 2.25.1