summaryrefslogtreecommitdiff
path: root/test/cmd/setexpr.c
diff options
context:
space:
mode:
authorSimon Glass <[email protected]>2021-05-13 19:39:17 -0600
committerTom Rini <[email protected]>2021-07-15 18:42:05 -0400
commit9d9bec216d4207b3f3336eda2ca2ba73698574cb (patch)
treed59cbaf9c97e71f1e0770ebad73ea64e8ca63c5e /test/cmd/setexpr.c
parentd3fc3da9a4fb98104d004b025149ec6dadccc2cd (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/setexpr.c')
0 files changed, 0 insertions, 0 deletions