[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 07/38] scripts/oss-fuzz: add a suppression for keymap
From: |
Alex Bennée |
Subject: |
[PATCH v4 07/38] scripts/oss-fuzz: add a suppression for keymap |
Date: |
Fri, 30 Jun 2023 19:03:52 +0100 |
When updating to the latest fedora the santizer found more leaks
inside xkbmap:
FAILED: pc-bios/keymaps/ar
/builds/stsquad/qemu/build-oss-fuzz/qemu-keymap -f pc-bios/keymaps/ar -l ara
=================================================================
==3604==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 1424 byte(s) in 1 object(s) allocated from:
#0 0x56316418ebec in __interceptor_calloc
(/builds/stsquad/qemu/build-oss-fuzz/qemu-keymap+0x127bec) (BuildId:
a2ad9da3190962acaa010fa8f44a9269f9081e1c)
#1 0x7f60d4dc067e (/lib64/libxkbcommon.so.0+0x1c67e) (BuildId:
b243a34e4e58e6a30b93771c256268b114d34b80)
#2 0x7f60d4dc2137 in xkb_keymap_new_from_names
(/lib64/libxkbcommon.so.0+0x1e137) (BuildId:
b243a34e4e58e6a30b93771c256268b114d34b80)
#3 0x5631641ca50f in main
/builds/stsquad/qemu/build-oss-fuzz/../qemu-keymap.c:215:11
and many more. As we can't do anything about the library add a
suppression to keep the CI going with what its meant to be doing.
Message-Id: <20230623122100.1640995-9-alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
scripts/oss-fuzz/lsan_suppressions.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/oss-fuzz/lsan_suppressions.txt
b/scripts/oss-fuzz/lsan_suppressions.txt
index 02ec0a6ed5..7d90c280d0 100644
--- a/scripts/oss-fuzz/lsan_suppressions.txt
+++ b/scripts/oss-fuzz/lsan_suppressions.txt
@@ -1,2 +1,5 @@
# The tcmalloc on Fedora37 confuses things
leak:/lib64/libtcmalloc_minimal.so.4
+
+# libxkbcommon also leaks in qemu-keymap
+leak:/lib64/libxkbcommon.so.0
--
2.39.2
- [PATCH v4 00/38] maintainer omnibus: testing, fuzz, plugins, documentation, gdbstub (pre-PR), Alex Bennée, 2023/06/30
- [PATCH v4 02/38] gitlab: ensure coverage job also publishes meson log, Alex Bennée, 2023/06/30
- [PATCH v4 08/38] tests/qtests: clean-up and fix leak in generic_fuzz, Alex Bennée, 2023/06/30
- [PATCH v4 09/38] tests/docker: add test-fuzz, Alex Bennée, 2023/06/30
- [PATCH v4 01/38] gitlab: explicit set artifacts publishing criteria, Alex Bennée, 2023/06/30
- [PATCH v4 03/38] gitlab: reduce testing scope of check-gcov, Alex Bennée, 2023/06/30
- [PATCH v4 05/38] tests/tcg: add mechanism to handle plugin arguments, Alex Bennée, 2023/06/30
- [PATCH v4 07/38] scripts/oss-fuzz: add a suppression for keymap,
Alex Bennée <=
- [PATCH v4 04/38] docs/devel: remind developers to run CI container pipeline when updating images, Alex Bennée, 2023/06/30
- [PATCH v4 06/38] qemu-keymap: properly check return from xkb_keymap_mod_get_index, Alex Bennée, 2023/06/30
- [PATCH v4 13/38] tests/lcitool: add an explicit gcc-native package, Alex Bennée, 2023/06/30
- [PATCH v4 10/38] Makefile: add lcitool-refresh to UNCHECKED_GOALS, Alex Bennée, 2023/06/30
- [PATCH v4 12/38] tests/lcitool: Bump fedora container versions, Alex Bennée, 2023/06/30
- [PATCH v4 14/38] tests/lcitool: introduce qemu-minimal, Alex Bennée, 2023/06/30
- [PATCH v4 38/38] tests/tcg: Add a test for info proc mappings, Alex Bennée, 2023/06/30
- [PATCH v4 11/38] tests/lcitool: update to latest version, Alex Bennée, 2023/06/30
- [PATCH v4 20/38] plugins: fix memory leak while parsing options, Alex Bennée, 2023/06/30
- [PATCH v4 32/38] linux-user: Add "safe" parameter to do_guest_openat(), Alex Bennée, 2023/06/30