Home
last modified time | relevance | path

Searched hist:c022ec039d3f32a153a1f7d3b1ffe3dd548d9be4 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.cdiff c022ec039d3f32a153a1f7d3b1ffe3dd548d9be4 Thu Aug 02 06:01:28 CDT 2018 Pankaj Bansal <pankaj.bansal@nxp.com> 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>
/openbmc/u-boot/drivers/net/fsl-mc/
H A Dmc.cdiff c022ec039d3f32a153a1f7d3b1ffe3dd548d9be4 Thu Aug 02 06:01:28 CDT 2018 Pankaj Bansal <pankaj.bansal@nxp.com> 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>