Re: [PATCH] rpmsg: glink: Fix buffer overflow

2023-12-13 Thread Bjorn Andersson
linux-arm-...@vger.kernel.org ; >linux-remotep...@vger.kernel.org ; > linux-kernel@vger.kernel.org >Subject: Re: [PATCH] rpmsg: glink: Fix buffer overflow > >On Mon, Dec 11, 2023 at 09:32:20PM +0530, Hardevsinh Palaniya wrote: >> In qcom_glink_send_open_req() remove er

Re: [PATCH] rpmsg: glink: Fix buffer overflow

2023-12-11 Thread Bjorn Andersson
On Mon, Dec 11, 2023 at 09:32:20PM +0530, Hardevsinh Palaniya wrote: > In qcom_glink_send_open_req() remove error: strcpy() 'channel->name' > too large for 'req.name' (1010102 vs 32) > As far as I can tell, channel->name comes from the struct rpmsg_channel_info->name, which is a 32-byte array, an