From a662e7a4eb3c897b213ce578ff6ff276fe60e11c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 27 Aug 2024 10:50:54 +0100 Subject: MSAN: Use-of-uninitialized-value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ==10765==WARNING: MemorySanitizer: use-of-uninitialized-value #0 0x5a74216f620b in _cairo_path_fixed_fill_rectilinear_tessellate_to_boxes workdir/UnpackedTarball/cairo/src/cairo-path-fill.c:288:5 #1 0x5a74216f620b in _cairo_path_fixed_fill_rectilinear_to_boxes workdir/UnpackedTarball/cairo/src/cairo-path-fill.c:345:12 #2 0x5a7421735497 in _cairo_spans_compositor_fill workdir/UnpackedTarball/cairo/src/cairo-spans-compositor.c:1121:11 num_limits is 0 here so this is apparently cosmetic Change-Id: Ib07259ce653414c9381c800355a648ab025d1919 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172457 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- external/cairo/cairo/san.patch.0 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'external') diff --git a/external/cairo/cairo/san.patch.0 b/external/cairo/cairo/san.patch.0 index aba2c2495e64..ea28154bc77a 100644 --- a/external/cairo/cairo/san.patch.0 +++ b/external/cairo/cairo/san.patch.0 @@ -102,3 +102,13 @@ return surface; } +--- src/cairo-boxes.c ++++ src/cairo-boxes.c +@@ -41,6 +41,7 @@ + _cairo_boxes_init (cairo_boxes_t *boxes) + { + boxes->status = CAIRO_STATUS_SUCCESS; ++ boxes->limits = NULL; + boxes->num_limits = 0; + boxes->num_boxes = 0; + -- cgit