From b503c46c124cf5aaa82a71e28f624f2ef2b71e71 Mon Sep 17 00:00:00 2001 From: ray Date: Fri, 10 Apr 2020 15:35:02 -0700 Subject: [PATCH] Bug 702320: Valgrind complains about UMR. The file for this bug does show that the stroke_color stack based struct in not initialized. Init fill_color and stroke_color. This is probably a bug tail from the fill_stroke commit. Also explicitly set 'zeros' to 0 to clarify the expected contents. --- base/gxclbits.c | 3 +-- base/gxclrast.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/base/gxclbits.c b/base/gxclbits.c index 3c65af9..519cdac 100644 --- a/base/gxclbits.c +++ b/base/gxclbits.c @@ -82,7 +82,7 @@ go_process(stream_state * st, stream_cursor_read *pr, stream_cursor_write *pw, b return -1; return 0; } -static byte zeros[1<