From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93EE6C3DA42 for ; Mon, 8 Jul 2024 11:25:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C1D610E16B; Mon, 8 Jul 2024 11:25:51 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="nNFzNGsC"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 97B5C10E0D1 for ; Mon, 8 Jul 2024 11:25:50 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D601360B98; Mon, 8 Jul 2024 11:25:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 337A3C4AF0D; Mon, 8 Jul 2024 11:25:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720437949; bh=kSqb0iL0CqG+0cO2oq7V+l6sW4KodeeizttoS/UNVQQ=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=nNFzNGsCX4ScarE4ivhKoQTJOn+ih3CgZa3S1rU5cx+I6Jzm7sfya3IRnZe7TOgVx SX25PitZ+c8QDPZSMZz5DC9K0+CVtcZC0CbpJCszuUoee149nUdVvBQX6oBp5j3Mfp Y3aCbnFyl/iD/8zu1UdkXVNOsj5QCnDmOl6Bdd9WGusNovmS+q7al2otg46b2sonp8 d+2tDwWT63+dO5Fh+o+Xk79zSRDrnN9bfktpDs189H7KFoG7NtophQdLwqN5BaFPZv dYwdd/Imptva0U46eanLI464PWLu4DEPLa/HOoW5AIHla/hpfm9/IX9g9IvSHkgSbY HSG7QV0yPNX3Q== Message-ID: <048e4f4036a64a825640d8b607834ff2@kernel.org> Date: Mon, 08 Jul 2024 11:25:47 +0000 From: "Maxime Ripard" To: "Carlos Eduardo Gallo Filho" Subject: Re: [PATCH v3 3/9] drm/tests: Replace strcpy to strscpy on drm_test_framebuffer_create test In-Reply-To: <20240703172228.11166-4-gcarlos@disroot.org> References: <20240703172228.11166-4-gcarlos@disroot.org> Cc: dri-devel@lists.freedesktop.org, =?utf-8?b?QW5kcsOpIEFsbWVpZGE=?= , "Arthur Grillo" , "Daniel Vetter" , "David Airlie" , "Maarten Lankhorst" , "Maxime Ripard" , =?utf-8?b?TWHDrXJhIENhbmFs?= , "Tales Lelo da Aparecida" , "Thomas Zimmermann" Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 3 Jul 2024 14:22:22 -0300, Carlos Eduardo Gallo Filho wrote: > Replace the use of strcpy to strscpy on the test_to_desc of the > drm_test_framebuffer_create test for better security and reliability. > > Signed-off-by: Carlos Eduardo Gallo Filho Acked-by: Maxime Ripard Thanks! Maxime