[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171689674351.20426.8981962769310707800.b4-ty@linaro.org>
Date: Tue, 28 May 2024 12:45:43 +0100
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: arnd@...db.de, Thorsten Blum <thorsten.blum@...lux.com>
Cc: amahesh@....qualcomm.com, gregkh@...uxfoundation.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] misc: fastrpc: Use memdup_user()
On Wed, 08 May 2024 00:22:27 +0200, Thorsten Blum wrote:
> Switching to memdup_user() overwrites the allocated memory only once,
> whereas kzalloc() followed by copy_from_user() initializes the allocated
> memory to zero and then immediately overwrites it.
>
> Fixes the following Coccinelle/coccicheck warning reported by
> memdup_user.cocci:
>
> [...]
Applied, thanks!
[1/1] misc: fastrpc: Use memdup_user()
commit: a16833330e2fa60912af6abebde711bf2c672cf9
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Powered by blists - more mailing lists