From patchwork Fri Jun 30 18:03:52 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: 697953 Delivered-To: patch@linaro.org Received: by 2002:adf:fcc5:0:0:0:0:0 with SMTP id f5csp592727wrs; Fri, 30 Jun 2023 11:05:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6q6eTnLqylIpb22lVaZJqUEKcCwagcQqnlonV9BwO1FEhMrtBczCwP7NnYXt39ZIR0AMIa X-Received: by 2002:a05:622a:1747:b0:400:79c0:cb69 with SMTP id l7-20020a05622a174700b0040079c0cb69mr3222687qtk.58.1688148354232; Fri, 30 Jun 2023 11:05:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688148354; cv=none; d=google.com; s=arc-20160816; b=z7GOsedQyD5dJnw2Ifu5iYJMxoq+pJOLkNxVLlvCJlaUQB6fa1FI06kJJVYfeu8cgC fgScJgPzabxGfU14I9yCdOEjtEHcBkwdWJWGRDPOL1tc9fns8PCWEStqZwvkW7N6hOu0 lpCQ+s6IAr/JYSNVRn+4rjUe07+75dCWZzNOAdGpVkAF9+Ie2OipMLXxa0a1JSd1LORj QEMT6ieFClIimBbm9dtgner/JkfEaQ9saGVUjpdihFRLdsFURks+Ak5a4IcNK02fN+wK SoRkxobykpfzBa6tAMbrTv6spPEro/9KBah6ys3W6fskSIRXb0yJ1e0rnlMOXUYbYA/X nHKA== 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=OltHerz+Vf7zZkebZbScoRT4WgVwJDskRS7DoEjx2Hw=; b=H45CE411nQrAZUPcy+8WfxlV+ejlw6nErykKRlKTfyxSDaGnA7lERRjjMi/uJdFUQq b4GByc2UQYl40bRxoRLrsF/h9Sg6xeyUzE5jFOiqCO+Sb0EiWflgbqyq3PsebVUO6o4H XsBJDd4+aoHXHZ908Ve9gynqXjX/dz/wgz8v3sQ4VtK/70waSeSG1ZatDSnxZxF3Z+MT iNMugs+Dev8JzyeM/SKlciVtHM+TcDCA82p3FDa+LuwAbJ+TNcWnGcIaeZq5WvQd5Qoi MMoFLKIkoMl2V7Gd9TW4x6ZcDk6kUGif1hKt+50uv3flaOHyXIfFu9zxXqAzgFjxfteO gE1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Mwwqeu/2"; 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 e8-20020ac84e48000000b00401fb769401si6321785qtw.368.2023.06.30.11.05.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 30 Jun 2023 11:05:54 -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="Mwwqeu/2"; 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 1qFIU9-0008NF-AN; Fri, 30 Jun 2023 14:04:45 -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 1qFITy-0008IP-4H for qemu-devel@nongnu.org; Fri, 30 Jun 2023 14:04:35 -0400 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFITu-0006zP-A5 for qemu-devel@nongnu.org; Fri, 30 Jun 2023 14:04:33 -0400 Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-313f1085ac2so2386461f8f.1 for ; Fri, 30 Jun 2023 11:04:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1688148268; x=1690740268; 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=Mwwqeu/2LjEp/DTk1EdT6TDICGuAO3g6x+jAlFMYhvDYd+P2Pa1h3Kgb7xDdNeKyQ/ Pqnku4PekyaO9Rfb5xBbu8+az2lTV54jTMNxjh/avbMfFx7tjGp4AoZ96UjxleYjFS5K VX+OPHA5Ky7FtyrlhPqwKUeeX123499PjY3SejlICDWw4eRx8m1lrVjw3ktVKTUvhljP /E7d6WNr5WFAdto4Wc99g+Kzg8qQO6Yw/P7IBQpwUwmNu4kCTpNqutzvWsXO2EyTpQxC jkghYwH5TTeIep9iHM3coTUygMIFufTcSeaf23IlkWIkBTJIrnqoUjiWvovMHQEmN0Vw Ig8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688148268; x=1690740268; 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=TFbjEtj44bYElb2ZetZTTJWLkMrp8wRX6lfSRPI0ru7m7lpqEd1UMgxlbaheuNlNxM Z85tQ9Ug6tUoa9imNecBlJuBU8m4W4otGWH3kovkr927HlZFGno6JiKSAnaz1XVQhZUE YW3sY2hBnaaXPwiRL+A2CjxVY+Qe/71B6lbk8Jz8xalW3u3zrk06gb0fMEN9RHAXGg7h scv5b6XikXa+hOB9LcdzQUmNjqf/8sNmRxKegfvMpGRWGepc0zKy3/mRajInuBhNSqvi 5KZeICdOGweyzBOmmkUHnnNj4VzfdRUJkfIahO1FMC/PqZlVdV+mINw/SRfE8OH1Pfmh QlHQ== X-Gm-Message-State: ABy/qLYkga09A0I99vhJU+R1eqknh5HTOjWCLVYrHptXpn2tVCgUaLo0 TegbPp5BV123WLBFCLgHQdg0SYBzDtptBtf5bxU= X-Received: by 2002:adf:ee0e:0:b0:313:e953:65cf with SMTP id y14-20020adfee0e000000b00313e95365cfmr3148541wrn.17.1688148268660; Fri, 30 Jun 2023 11:04:28 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id f10-20020a7bcd0a000000b003fa99969e61sm13990081wmj.45.2023.06.30.11.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:04:26 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id A49A71FFC2; Fri, 30 Jun 2023 19:04:24 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , Paolo Bonzini , Stefan Hajnoczi , Leonardo Bras , Laurent Vivier , Peter Xu , Juan Quintela , Beraldo Leal , Radoslaw Biernacki , Qiuhao Li , Peter Maydell , Yanan Wang , Riku Voipio , Wainer dos Santos Moschetta , Mahmoud Mandour , Alexandre Iooss , =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-Daud=C3=A9?= , Eduardo Habkost , Thomas Huth , Laurent Vivier , Bin Meng , Marcel Apfelbaum , Bandan Das , Cleber Rosa , Richard Henderson , Leif Lindholm , Marcin Juszkiewicz , qemu-arm@nongnu.org, Darren Kenny , Alexander Bulekov Subject: [PATCH v4 07/38] scripts/oss-fuzz: add a suppression for keymap Date: Fri, 30 Jun 2023 19:03:52 +0100 Message-Id: <20230630180423.558337-8-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230630180423.558337-1-alex.bennee@linaro.org> References: <20230630180423.558337-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x435.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