Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1854679rdb; Thu, 7 Dec 2023 10:25:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbmS2rkMQukAikSZMKuYEKFkBEH5AcF91u/lHxETwWp9a0qiNRtInteeuOko2ySo1w/ZFY X-Received: by 2002:a17:902:d4ca:b0:1d0:92a0:492a with SMTP id o10-20020a170902d4ca00b001d092a0492amr2631931plg.85.1701973517526; Thu, 07 Dec 2023 10:25:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701973517; cv=none; d=google.com; s=arc-20160816; b=blJb8MDmwFAzW5JmkcsrZeJMNAFAf9JBvy1DJcrbWpr9LLfsRmSl5UecuAMYrXYsew 6ewg1fu0Oxe+wbSzaw6iwugt6c7jKMjyXtahsAjJ+qelKKRVy5ILRkaDiRi7/fxCPn/U cjZ6hvyTfSf5gEhRqz/abtbrOwMUwSHmPUcLmzCfnlVkBHhsUU/GqJAbIji8S6s/3FDR zNfRmZzWLWlk4yV0leCivv78CF3wHudvPNXwyrJvIoS/qypnbD5Jz18yQA1hYzU/nTv/ UD6fl69rKIRXWIW2E/RsIPggFI2QgUDdMtobL+i6EHP9co/70d5OihG/vYxvCnmZpdW8 2gGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=RkaHM5q2jpqT/W1j9tV1OCaKnioGQWBb3Cd8jiM948E=; fh=FpUmlYknVLeI5f7JcPXYehAkTH5uhbAXZY+QY2rFCr8=; b=owa7aQ37hReRAnbrf+wSYWYtzZOOKcL4kNTDBZ42LIJUkjyrzFLMnqlEOd2IBJBZQY XTapdjVXxiT1+CGu+J+MW1TOE1B5SxwNbnT/bv5di2Kmm2IunGN1b951peElFQxh65oc 6yK6MsMcJfBH7VcCV612R8wP94888nMxLB/Lr4Fun84wW3SVPREWWDSv5iVmhBg/1gbX 23dTdx9Fg4bxw2cZVFDSO3w6OQadeSgWOy/aJL3N3RUBYv+REJkjxaewElqE8T8C6N4Z tRhLq44CAdHQHxA9bPGRjfmsaRqvhtp6UeSBcmpjI5W/eFZQP8+YQdxvEPE5q8mzYQHZ TyQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=olqtFFoT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x4-20020a170902ec8400b001c88fc3c593si142126plg.560.2023.12.07.10.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 10:25:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=olqtFFoT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 25A6983F02BF; Thu, 7 Dec 2023 10:25:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443698AbjLGSZC (ORCPT + 99 others); Thu, 7 Dec 2023 13:25:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231719AbjLGSZA (ORCPT ); Thu, 7 Dec 2023 13:25:00 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32D8D10E7 for ; Thu, 7 Dec 2023 10:25:06 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A1E55C433C7; Thu, 7 Dec 2023 18:25:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701973505; bh=yMiS9Pe6kPLbOYqn7iFPTCZx0Q1lRHoFloVf9IN9Jg8=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=olqtFFoT+ryYEmbaNUq8qybt/oVXgscQwzGWvY4Kh91GTZTd5i/AfPMpivNbRnelC f6+Xkol1pnMHUM0yIfcBRbTXNd8afSt7ioT/8zZ747++Lx6zkbUkBgcQLCyRN3H6Sp m9Ujm/9JAaQGn3VbAj2NicOJCJSWmqcDmeJnNNVpLd0fsFYMORDH6PX85HggRjNJJS HSEugu6GeAo0/L55hCVOI+6V97zQj8PbWBculUrgsnwG4EAa2upk5ZC/ekB7vqD/7c EXWu//OjctE9a4jzi6nQK8N7qgDOVeI4I9GPd/H3pCxGuhJ3vUxMFi5hMZ0v8cW2TL +k4jjR1CqzBkw== From: Mark Brown To: Kuninori Morimoto , Dan Carpenter Cc: Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Rob Herring , Charles Keepax , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org In-Reply-To: <1032216f-902f-48f9-aa49-9d5ece8e87f2@moroto.mountain> References: <1032216f-902f-48f9-aa49-9d5ece8e87f2@moroto.mountain> Subject: Re: [PATCH] ASoC: audio-graph-card2: fix off by one in graph_parse_node_multi_nm() Message-Id: <170197350337.327814.15048120756650243468.b4-ty@kernel.org> Date: Thu, 07 Dec 2023 18:25:03 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-5c066 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 10:25:15 -0800 (PST) On Mon, 04 Dec 2023 15:42:07 +0300, Dan Carpenter wrote: > The > comparison should be >= to avoid writing one element beyond the end > of the dai_link->ch_maps[] array. The dai_link->ch_maps[] array is > allocated in graph_parse_node_multi() and it has "nm_max" elements. > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: audio-graph-card2: fix off by one in graph_parse_node_multi_nm() commit: d685aea5e0a89b66679e5266320ab2ba4378c754 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark