commit | 54045443a4607b364c01bd4e42b1ed92e5731823 | [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 | c1759a8ccd09c1308a282d2ccadd1481a89fc447 [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>