commit | 562b103a21974c2f9cd67514d110f918bb3e1796 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Fri Oct 30 13:48:19 2015 +0100 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Fri Oct 30 14:33:26 2015 +0100 |
tree | 930ff41bc842773490cd6d172d7ee77abb6bcf5a | |
parent | 89bc7848a91bc99532f5c21b2885472ba710f249 [diff] |
can: Use correct type in sizeof() in nla_put() 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 <wg@grandegger.com> Cc: netdev@vger.kernel.org Cc: linux-stable <stable@vger.kernel.org> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>