Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1810637iog; Tue, 14 Jun 2022 14:02:58 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tVrzPqKt63xB4RBr8QPMF8MGFXcoRE7mEih76F/WXehQJHYQyqHBwkBOv1It8iz0mj8h6d X-Received: by 2002:a17:902:690a:b0:168:def8:f964 with SMTP id j10-20020a170902690a00b00168def8f964mr5982683plk.61.1655240578407; Tue, 14 Jun 2022 14:02:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655240578; cv=none; d=google.com; s=arc-20160816; b=yEZGqxR8+Z3tpDzh8Gq8LGttFJyzNHuGOdbiy2npl7rXF/W1kIu4gzpzfBoYUlEg7L DQMgPGT+Khzg7bW9abuo9cn0Iwe57fU8UvZgYhlwNnDqBki/8kF/ktaXNyJQkV5OAq3M JFA/0DX8TFj6LG/ZC4I6Pb00DoMyoHcyegS2xnaHJhabsAp/M3+l1VkcGxOu5DvEiyA2 JtMnGGWLGj6bO/bdxf5KSOW6GeQtU0F+uXgvUvHq1WN/DOlDQlaFgUIqAb+A6kAkWEoA wNKfqWnIaK5qQt9xVF3sYzt+a7+Ll71c/DDeM0BgtCjLbNehwaUHy4m8edx3SI0R8SI5 Gcug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=5u9czrroDminxpN3uNyOI1/iju8TX6M3Ds2XUClt+cc=; b=BGIXrVk3HXFxeCxb4BhViDxN06TV8lqlhMco2GGbGaeqd0tRktQowTevVwf5D4A4Nb cfQJFGCj2IT95h3YRjAcyO7daKcKa79jRgiBN7qPmRwDzo/BoQtXIXVLIEXV9n7jF212 ugBT7SLfZGULpwyk//ffyu3BpF4xKdRu8SLCz9i92ljTok/lbD3AqU7FQKM7rzc1UcSb b8gN81+LCdsPQrUBvTRu48Oa8rvYJ600jVBH4niWE/oiE7l+cZnXv/iSliUPHF+YDWrX mIId317EKKDqlP3+odUqsZFX/ziR9qYAf5e3oa4uj770ElNUnoH+PvT7xiviLgSbcFYf EeQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a35JiDzC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d131-20020a636889000000b0040512c17f1asi14337530pgc.819.2022.06.14.14.01.51; Tue, 14 Jun 2022 14:02:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=a35JiDzC; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358437AbiFNUwE (ORCPT + 99 others); Tue, 14 Jun 2022 16:52:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358452AbiFNUvw (ORCPT ); Tue, 14 Jun 2022 16:51:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46F0750E13 for ; Tue, 14 Jun 2022 13:50:41 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4959061605 for ; Tue, 14 Jun 2022 20:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id AA771C341C5; Tue, 14 Jun 2022 20:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655239815; bh=zJjwCEKXKDiR64RRo3CQx8HtyrvA87l9nTW4gRP9TNs=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=a35JiDzCNwjdAUq6LkzvRHpsh3ltO4XyHQ3njJbTdT1yaW8vLQsOyCMJ6meZWZuPe viRP7mLuKINtapFokuT3FCHN0/pLwNUldN1p1zQ52AO4nV1U8SKICuSQxE2hPeaaI8 UAgohce1nrg1hxJyCGu0iitI9MvmpW9/vMAugLZEw2afV02+2XOLtMs73RpRFza+TF 8dinc0aq3XoxiZ5pB3ftoFeKSjfvwW7rBCAu/+XJMMhO3/KJx4wwitd9Y5nP3qgfG7 UnphRX27Q3O+ENHOqjG8NnN5Bq1m/HUozgmXPjQQ2pSrT17DDvzdnddcGiCW9fy49W /dbEyWvhxCM9g== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 92270E6D466; Tue, 14 Jun 2022 20:50:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH BlueZ] mesh: Fix keyring snprintf usage range checking From: patchwork-bot+bluetooth@kernel.org Message-Id: <165523981559.27818.5402247822136859352.git-patchwork-notify@kernel.org> Date: Tue, 14 Jun 2022 20:50:15 +0000 References: <20220614171338.177983-1-brian.gix@intel.com> In-Reply-To: <20220614171338.177983-1-brian.gix@intel.com> To: Brian Gix Cc: linux-bluetooth@vger.kernel.org, marcel@holtmann.org, luiz.dentz@gmail.com, tedd.an@intel.com X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello: This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz : On Tue, 14 Jun 2022 10:13:38 -0700 you wrote: > snprintf performs it's own range checking and returns a negative value > if string construction fails. Not checking the return value throws a > warning at compile time on GCC 12 and later. This patch removes > redundent range chacking and checks all snprintf return values. > --- > mesh/keyring.c | 68 +++++++++++++++++++++++++++++--------------------- > 1 file changed, 40 insertions(+), 28 deletions(-) Here is the summary with links: - [BlueZ] mesh: Fix keyring snprintf usage range checking https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5cc08527c0aa You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html