commit | 08ffea7ae4dd85d968f9936c36d1c652cd91a40c | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 23 21:29:27 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Dec 05 06:01:34 2018 -0700 |
tree | b843193e32b2fe10ba04972d723ebdf5c432d1fd | |
parent | 1e91b12f3dd01d617a4cc23558b3f1be6e1061f2 [diff] |
sandbox: net: Correct name copy in eth_raw_bus_post_bind() We cannot be sure that the interface name takes up the full length of the space available to it. Use strcpy() instead of memcpy() in this case. This corrects a valgrind warning. Signed-off-by: Simon Glass <sjg@chromium.org>