From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 537E33876BA; Fri, 12 Jun 2026 12:50:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781268644; cv=none; b=U81AI5xdg0cKqs7Ceik8HTAdlxmOrxe7pimijo73vD6+bqV+TPau5UaHgfcDj5fDc6leNx26Gez4yR3Re7/kgHbenj4wekmglOWExfnOdml22JLl2oh7cJACw/224HAWOheQgHKLe9XpR/7++w02qpOopFcSvnTGHYC4oTz6wKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781268644; c=relaxed/simple; bh=9wALB/71vlKvBLYIA0n1DLVlL9Ar1EVQJKy91gwUDRI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ch37Jer7YQKE10om4H+DqKFd8a5hkHfXt7ik/yt75+7EVRuFNIj8jGRYccNmle78X/c1bBTf99O6XGQl2gbMpcTvuvPL7rBo2pj4yYwUeAB8MX/TEY3EGcgNuIkE9dg63nAfRftGOXkuzh2ELS6vcyZVAXTNUzfT+iwY9zBSERY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=lxqBbeQD; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="lxqBbeQD" Received: from francesco-nb (93-38-183-34.ip71.fastwebnet.it [93.38.183.34]) by mail11.truemail.it (Postfix) with ESMTPA id 51F801FCE4; Fri, 12 Jun 2026 14:50:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1781268632; bh=C/mO6qvDy4Xne29Wyz+1Tk3k+4MxwpQBbkGgCDH9e0s=; h=From:To:Subject; b=lxqBbeQDRKs5Y/tFi8SKH22gegUmgkyJhRMuUH0gxpMHEYP5GnQiJCgz/+orWAf1J 0tVkI8ssI3nTVwFHuH9TScaA/b/WrYBPxAIZ4oFMZmrDcnxmGbawbNa1/vG6gucrkg 6ml+7H62Blgg7SGG90gdd4YBI+Gr6CHC52TvvWJwzBNEZp28NqFdI+nuy2NWg+aPa+ 7HuQNvCFQwkLPiPuCeVWxv28mcyC4hWmGy+uh+/Le3sFoVeNhzIWDcakalNoRltraK K7JHYlXrFKmX6AmQF+SSvzZu9fRHT3soqeHTOL3RroOt25sR27OuZFlyaTdmNhw/eU VkGV9c/OY75rg== Date: Fri, 12 Jun 2026 14:50:27 +0200 From: Francesco Dolcini To: david.laight.linux@gmail.com Cc: Kees Cook , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, Arnd Bergmann , Brian Norris Subject: Re: [PATCH net-next] drivers/net/wireless/marvell/mwifiex/sdio: Use strscpy() to copy strings into arrays Message-ID: <20260612125027.GA6155@francesco-nb> References: <20260608095523.2606-3-david.laight.linux@gmail.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260608095523.2606-3-david.laight.linux@gmail.com> On Mon, Jun 08, 2026 at 10:54:47AM +0100, david.laight.linux@gmail.com wrote: > From: David Laight > > Replacing strcpy() with strscpy() ensures that overflow of the target > buffer cannot happen. > > Signed-off-by: David Laight Reviewed-by: Francesco Dolcini