diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-09-27 14:22:00 +0300 |
---|---|---|
committer | Ramon Fried <rfried.dev@gmail.com> | 2021-09-28 18:50:57 +0300 |
commit | bf35c3121aa58eec03990bd5bd83ad1576106046 (patch) | |
tree | 5601445d0599a3a3dbd3d5ebc6b296c4a6709e7f /arch/arm/mach-imx/misc.c | |
parent | 977b53f0b30e833b3155c247f48014363f9cfcf0 (diff) |
net: mdio-uclass: rewrite dm_mdio_post_probe using strlcpy
dm_mdio_post_probe used to be vulnerable after truncation, but has been
patched by commit 398e7512d8d7 ("net: Fix Covarity Defect 244093").
Nonetheless, we can use strlcpy like the rest of the code base now,
which yields the same result.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Diffstat (limited to 'arch/arm/mach-imx/misc.c')
0 files changed, 0 insertions, 0 deletions