From patchwork Tue Jun 27 16:06:31 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: 696845 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp3862883wrm; Tue, 27 Jun 2023 09:08:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ewmEsksV9+RLlch4gZyj0BLsJcpB/q+5bumdLKkOWkmqzxszU2nCuCoT/NbMJP1fkoskF X-Received: by 2002:ad4:5de2:0:b0:625:aa49:ea03 with SMTP id jn2-20020ad45de2000000b00625aa49ea03mr34683136qvb.32.1687882130277; Tue, 27 Jun 2023 09:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687882130; cv=none; d=google.com; s=arc-20160816; b=ZoRupONdb3aiHYv9FndUamZzotbrt7GEQynSXUBk8PtpJ5zWEpxkmJuYnzAKOPcmvo tcJKO06kv3v6cToJJr0wKmAZqmfYIj44egw4F6ewIdaWu3j/L431xEX7skR4QEqNpgfH OKDwuXk6A/V7LiVP9qFbYQMRFsS6xIFZofSPYKxRzP7ILu7OZe8WqinsyZro5EeeMnzT QlOzEeHz1Vf6I4aSi5WVw2xJpgxnAGb2vPMbIDf/V2A8q3MdlkgE14DU4Aj8BfkuooPN lSCIjyJ1vGXqbZS5Iu7Tbkf8IbT8tmhpoFslhMP3xRvLhCtnwfgBA2ZkM+cdY8W93oJg nmSQ== 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=GnP8f96S0GKF3CO1A0jcmqKih6bOlzq38Er4YTCNWjo=; fh=UYmazdnd7dWeaUl9zzIqQyuUvQUcVQKeyrKAe+85WNA=; b=V9gKTMSP/Oy0uc+4N+dZH6qgw+bNSK4C7NNrbNmJ1CLlOZipe/nC8IaCLqA+hwrsUt ov9VURKPNV7Mnu4MpJBBRdDLhrcwP4s8CAdrRp3RTnJmYojNzaIm3VfmUNl0anUGaVWz 7VVyBelq0G25Jooov8clCPjZUehaR2HwrxYHNRXkMvf4z5K0BMTR+6Mw66M0bmMADwZe fikEuHqCX0/Yr1uDmzIBsWQCgQ5QGYcDW3C6jg98OjeOS8LpdOsgxQLjsxHRbpEusgi/ SqcIoJJ7HV/J2beKAQbsd8XYcsBiVgDVOSe3HvrNtmhujlRW6SRwNvTzfcaJLe8A74O1 njIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TL0E+q55; 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 br35-20020a05620a462300b00761fffacf17si3440830qkb.534.2023.06.27.09.08.50 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 27 Jun 2023 09:08:50 -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=TL0E+q55; 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 1qEBE6-0000NA-Rd; Tue, 27 Jun 2023 12:07:34 -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 1qEBDl-0000C5-0m for qemu-devel@nongnu.org; Tue, 27 Jun 2023 12:07:13 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEBDe-00058m-TV for qemu-devel@nongnu.org; Tue, 27 Jun 2023 12:07:12 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fbaa534dd4so4937165e9.1 for ; Tue, 27 Jun 2023 09:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687882025; x=1690474025; 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=GnP8f96S0GKF3CO1A0jcmqKih6bOlzq38Er4YTCNWjo=; b=TL0E+q55wYUsZuGYCLCfc7mgnfjV0tH5Td/+n1VS6HjtjBln+9N8A1Cc6dqjihwWQ1 gb4U5AjmrV0k7JdyvVF80Zi7wSetPmx1fbu8wbd5oFXSX7TXD+m81hb/q7SIi1xZNLzR 6CPDxTg8cv/ITH1bbUqUAB/ph4nMHzkH/3YCKhvEW9J2tee4q/xs+p859V7s/EKgkGz9 0zIm/f12gkP4auBjFiX22krKLBUF2G8s7vdoprP77WFqzwcjD4Iyanjt5IoheatKGilN ZZI/vAgogCL2/VVHjtexWL+7Kwm6AsAfdd5asELEoW6XvzNqa5Cab2WHDYeNANh7wTGr KpsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687882025; x=1690474025; 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=GnP8f96S0GKF3CO1A0jcmqKih6bOlzq38Er4YTCNWjo=; b=ZJdQbM1kvYgnGAKgtMzq+Rtr34NWtIQ5z0oolZ2srwHR0VdN4q5SPTH7kE6rlbaKFm Em6qbIhJ6tON0cDJR8ve8yBxiA32PPNoP5/M1UyNhf1IK2/wg5+1oZeVczcaEVwBNe0p j1kDi6z/2gegv3OPqtxF6f40IATrFVVViqyQTvFsxiXE1R0L1xUCfq5Opymf9Bna/bld lxxD6T3j3nugnzFgrCCBKSRz9aQPXBuiYhVbe6USgmFui9ON1sJF+DK0BTAKBHvEqn2H noT4OLU7SaQW+npgqHOmyvIE+tJZu7yqV14y7ENb37iogEM2NYar2U5ACIRp2RyqDJk2 0LfA== X-Gm-Message-State: AC+VfDzXAYF4eBH8SullDjZ/sG0X+NocxgqhGCatfNn70J5GCMpu/Oqn Ue0wucDKpoeH9MiSOEAcF4XKjw== X-Received: by 2002:a05:600c:22c6:b0:3f9:b244:c294 with SMTP id 6-20020a05600c22c600b003f9b244c294mr29213300wmg.35.1687882025130; Tue, 27 Jun 2023 09:07:05 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v1-20020adfe281000000b00311299df211sm10835337wri.77.2023.06.27.09.07.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 09:07:03 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 89C7D1FFC2; Tue, 27 Jun 2023 17:07:01 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Riku Voipio , Leonardo Bras , Wainer dos Santos Moschetta , Leif Lindholm , Yanan Wang , Marcin Juszkiewicz , Bandan Das , Beraldo Leal , Laurent Vivier , Marcel Apfelbaum , Bin Meng , =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?Alex?= =?utf-8?q?_Benn=C3=A9e?= , Stefan Hajnoczi , Richard Henderson , Peter Maydell , Thomas Huth , Cleber Rosa , Alexandre Iooss , Juan Quintela , Eduardo Habkost , Paolo Bonzini , Qiuhao Li , Mahmoud Mandour , Peter Xu , Radoslaw Biernacki , Darren Kenny , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Alexander Bulekov Subject: [PATCH v3 07/36] scripts/oss-fuzz: add a suppression for keymap Date: Tue, 27 Jun 2023 17:06:31 +0100 Message-Id: <20230627160700.2955547-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230627160700.2955547-1-alex.bennee@linaro.org> References: <20230627160700.2955547-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32b.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. Message-Id: <20230623122100.1640995-9-alex.bennee@linaro.org> Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- 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