commit | 8a92170e9672d9a08df2e38ddc44f3ceddcbe515 | [log] [tgz] |
---|---|---|
author | Pankaj Bansal <pankaj.bansal@nxp.com> | Thu Aug 02 16:31:28 2018 +0530 |
committer | York Sun <york.sun@nxp.com> | Wed Aug 08 08:23:49 2018 -0700 |
tree | 99439be0344d6fc0edda3e015ed09fce6ddce65e | |
parent | bc42fde9c5d15d1e64092723042dd726172a1be3 [diff] |
fsl/mc: Limit the ethernet name to ETH_NAME_LEN The ethernet name should be within the ETH_NAME_LEN, as this is the buffer space allocated to ethernet name. Otherwise, this causes buffer overflow. Reported-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>