Re: [PATCH] can: Use correct type in sizeof() in nla_put()
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2015-10-30 13:40:38
Also in:
linux-can
Attachments
- signature.asc [application/pgp-signature] 455 bytes
From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2015-10-30 13:40:38
Also in:
linux-can
On 10/30/2015 01:48 PM, Marek Vasut wrote:
The sizeof() is invoked on an incorrect variable, likely due to some copy-paste error, and this might result in memory corruption. Fix this. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Grandegger <redacted> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: netdev@vger.kernel.org
Applies to can and added stable on Cc. Thanks, Marc -- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |