diff options
| author | Simon Glass <[email protected]> | 2021-05-13 19:39:17 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-07-15 18:42:05 -0400 |
| commit | 9d9bec216d4207b3f3336eda2ca2ba73698574cb (patch) | |
| tree | d59cbaf9c97e71f1e0770ebad73ea64e8ca63c5e /test/cmd | |
| parent | d3fc3da9a4fb98104d004b025149ec6dadccc2cd (diff) | |
sandbox: net: Ensure host name is always a valid string
At present if ifname is exactly IFNAMSIZ characters then it will result
in an unterminated string. Fix this by using strlcpy() instead.
Signed-off-by: Simon Glass <[email protected]>
Reported-by: Coverity (CID: 316358)
Acked-by: Ramon Fried <[email protected]>
Diffstat (limited to 'test/cmd')
0 files changed, 0 insertions, 0 deletions
