commit | bf35c3121aa58eec03990bd5bd83ad1576106046 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <vladimir.oltean@nxp.com> | Mon Sep 27 14:22:00 2021 +0300 |
committer | Ramon Fried <rfried.dev@gmail.com> | Tue Sep 28 18:50:57 2021 +0300 |
tree | 5601445d0599a3a3dbd3d5ebc6b296c4a6709e7f | |
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>