From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ganapathi Bhat Date: Thu, 09 Jul 2020 03:43:37 +0000 Subject: RE: [EXT] [PATCH net-next] mwifiex: Prevent memory corruption handling keys Message-Id: List-Id: References: <20200708115857.GA13729@mwanda> In-Reply-To: <20200708115857.GA13729@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter , Amitkumar Karwar Cc: Xinming Hu , Kalle Valo , Jakub Kicinski , "John W. Linville" , Bing Zhao , Nishant Sarmukadam , Marc Yang , "frankh@marvell.com" , "linux-wireless@vger.kernel.org" , "kernel-janitors@vger.kernel.org" Hi Dan, > The length of the key comes from the network and it's a 16 bit number. It > needs to be capped to prevent a buffer overflow. Thank you for this change. Acked-by: Ganapathi Bhat Regards, Ganapathi