From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F8A253BE for ; Mon, 10 Jul 2023 07:30:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DFC2DC433C8; Mon, 10 Jul 2023 07:30:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688974220; bh=k8S+XQdm0KzUrGBLne+9DyHVRuTDstYpbvtQ0noJ590=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=RKyFsBIj/7Wo3/nXOaNhvtnz3KiiyUJDWv/oy5w/m/5FVe7j7OwYg9nvcxkjTEnIJ 9JGFcGdsNvTQoD6GSs26xmpxykczewA5VYvOlphazo6qFNOnwuTukJSLVvT9qrMz1I o5YOwHTPTyFydfwH9AY/Y80+YttkyQE1nikCb1FOHkeiCXAzrvmU/rfdwUpWQIn6Hj FqE4tvevhSMewqxO8fhqkAvAE02gfssF3SZkSXb5hVtrDXMecqTIcALVziQfXiJ1WF KFLPx1UcyLdFaBvryF1DpUrJV1lIBHBbqwOceonPPMAwVaL7yTm/EdX8POR5nWe4cC dfs85IdWFVK9A== 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 C6462C73FEA; Mon, 10 Jul 2023 07:30:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] net: sched: Replace strlcpy with strscpy From: patchwork-bot+netdevbpf@kernel.org Message-Id: <168897422080.937.17969927233857784911.git-patchwork-notify@kernel.org> Date: Mon, 10 Jul 2023 07:30:20 +0000 References: <20230710030711.812898-1-azeemshaikh38@gmail.com> In-Reply-To: <20230710030711.812898-1-azeemshaikh38@gmail.com> To: Azeem Shaikh Cc: jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, linux-hardening@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Hello: This patch was applied to netdev/net.git (main) by David S. Miller : On Mon, 10 Jul 2023 03:07:11 +0000 you wrote: > strlcpy() reads the entire source buffer first. > This read may exceed the destination size limit. > This is both inefficient and can lead to linear read > overflows if a source string is not NUL-terminated [1]. > In an effort to remove strlcpy() completely [2], replace > strlcpy() here with strscpy(). > > [...] Here is the summary with links: - net: sched: Replace strlcpy with strscpy https://git.kernel.org/netdev/net/c/989b52cdc849 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html