From patchwork Fri Jun 23 12:20:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 695245 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp1921042wrm; Fri, 23 Jun 2023 05:25:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QkSqbdf2TCVG9ZvopAFjGetbqy+Wx8Wq9obW4yDvJ/kvW0VjlBV7BeGgq6RgqcIylu4iZ X-Received: by 2002:a05:6214:5001:b0:625:aa49:ea08 with SMTP id jo1-20020a056214500100b00625aa49ea08mr27901478qvb.27.1687523100871; Fri, 23 Jun 2023 05:25:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687523100; cv=none; d=google.com; s=arc-20160816; b=hkFR1uYgVkfeRyiHpXNgBZ4/8Eyyx93gfuuy0V1HYobVQCyV13Rc/ykxlykOnW9u1v l2vKKeRTy4HbWZz2iBsDupA8xpTgz8jf+ofd9PtuneCu8vH+3a21DTQwbCDpOlzEgFt7 c+q94Gu93KsV65RaYjtpdSP0F5vUYyW2USbmxjOuqMuXNICUfym4PP28oQQRbDGj8Tm8 syekWYbGVlMUHUPhJiQFRbWBp6eIM/yCq7/WHQUEozl/wJsqzx5ytYiHEuK3jAhPuAzp 0dbGDu0BWejcUieN6bPSb1CaevLWTH20lhbUG7EgeVKo0eIvC2iISspvyNUOwxwopMmd q5vQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=J+Gvhw8OwKumAwW4S55btl0nU9jRO4rpHnQkORleZ+I=; b=HK5QmnYVuSQMq6+YTfJH6DUiGpR5u8D9Uc50LqCsuPYOQRnS+P5Ecwm9q0NaG4igZ8 gflXS6waNLCW+lqk5KHMv8srT15n90ZVRB2Qen5dUTBcP5dhx7uo/5a2DMJvNtLi550r OA0VVRB4MrrRlgN8dt+MRszs3l9IBsvfFG77Bq3ymFyh4G5AtrTSKV+PlQRtEu+jD4YT uY14RLMA7Dmm5NVaZ3xnMGoklfumx5eBXnbvB5aD0xWWhIhsmJVr3MmOEpLWhhQ6Z5fN PkusXl7zJrzQ4CBRjGaKhPkWEK9f+M9DB/nNBlmPDxXnZZCNW1l08OCPJX1zjWUd+sLa 2Ryg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rNOlfTrM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id jf7-20020a0562142a4700b0062ff6ed8591si1211173qvb.98.2023.06.23.05.25.00 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 23 Jun 2023 05:25:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rNOlfTrM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCfoR-0006Hf-Ca; Fri, 23 Jun 2023 08:22:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCfn3-0003pb-RT for qemu-devel@nongnu.org; Fri, 23 Jun 2023 08:21:27 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCfms-0003i6-I1 for qemu-devel@nongnu.org; Fri, 23 Jun 2023 08:21:20 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3fa7eb35a13so2768575e9.0 for ; Fri, 23 Jun 2023 05:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687522866; x=1690114866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=J+Gvhw8OwKumAwW4S55btl0nU9jRO4rpHnQkORleZ+I=; b=rNOlfTrMXeuprg/vHe0uYLIiZixZ3vF57OX515n2V+WVsQ4FI/X/i5K/8Xxdwn8hXA nkTfo0D3iDucmj90JTqyKeTzqZWsjxQshF7K4oZD8D1j0/rFcrOuGCTKr6A+nhY8oSlY wzaMxXrP+FX+t3UrcbFLxzQ2XV3iOZyBjlnTO3wobGOAvsZm98lc8pzKjHHpKNFNLYmO dZnk06sf2DXA8CWQBjh6UbXbm65ZJQvdD5Ok9oKGXC4RflWi9+S5dj9psuTS5TbHRbrt hBKwcicVjPka7cKj8piq+uNCn3vWcOAD4jNi5OtL12JJyZDkBaV4MMvbQEXeHelQYMOt 7qng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687522866; x=1690114866; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=J+Gvhw8OwKumAwW4S55btl0nU9jRO4rpHnQkORleZ+I=; b=VPa/yPVE2HHRm+1jFxuioNKrIGS0+RPmCCZjGDgOvajEuSxNqCMAB6wvXk0V0HbZnW StFTdKJ1EBTmlaQsx8Y0fIzWiTkebZA6d6Jj2aKcBt6F+6U29Z7MA+V64uEV5NuJ5g7c XW0iCCLLPZpy9oLCtj5nT9XVQlX5LA73p+0Zi8FrvltLxydSZdeu3IPfkmXNg6Wc1dLL ONdheMSvFM/KbHNl5WubUiBkvoN6J/ipXAJQOjKQNed3Kp7nk/PIlA0SLp8wUmU4FnQu IfHBJVGMOcQhzZO2wFiNSOHJHLhzOurah7m3U+VDtpz6Rhw934OgmhDzw38xOg1BIqf9 dQJg== X-Gm-Message-State: AC+VfDwwS7ZiPSYCHe9H7a4RjfTGydNnSN3kIa2BBlBgSQp4F6ih7VgT 5Jm0mCMv7MsHjzXH8wnPmsIlKQ== X-Received: by 2002:a7b:cd8a:0:b0:3f9:b975:a0d7 with SMTP id y10-20020a7bcd8a000000b003f9b975a0d7mr7221350wmj.1.1687522865873; Fri, 23 Jun 2023 05:21:05 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id y15-20020a7bcd8f000000b003f9c8c6bf53sm2239319wmj.13.2023.06.23.05.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Jun 2023 05:21:02 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 61CCF1FFC3; Fri, 23 Jun 2023 13:21:01 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Richard Henderson , Juan Quintela , Peter Maydell , Cleber Rosa , Darren Kenny , Alexandre Iooss , Peter Xu , qemu-arm@nongnu.org, Eduardo Habkost , Riku Voipio , Mahmoud Mandour , =?utf-8?q?Daniel_P=2E_Berrang?= =?utf-8?q?=C3=A9?= , Paolo Bonzini , Bandan Das , Marcin Juszkiewicz , Radoslaw Biernacki , Alexander Bulekov , Leif Lindholm , Qiuhao Li , Wainer dos Santos Moschetta , Marcel Apfelbaum , Leonardo Bras , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Stefan Hajnoczi , Bin Meng , Thomas Huth , Beraldo Leal , Laurent Vivier , Yanan Wang , =?utf-8?q?Alex_Benn=C3=A9e?= Subject: [PATCH 08/26] scripts/oss-fuzz: add a suppression for keymap Date: Fri, 23 Jun 2023 13:20:42 +0100 Message-Id: <20230623122100.1640995-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230623122100.1640995-1-alex.bennee@linaro.org> References: <20230623122100.1640995-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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. Signed-off-by: Alex Bennée Reviewed-by: Richard Henderson --- 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