Coverity notes that we do not ensure when we copy ifname we still have space left to ensure NULL termination. As cannot control the size of ifr_name we must make sure that our argument will not overflow the buffer. Reported-by: Coverity (CID 131094) Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| cpu.c | ||
| eth-raw-os.c | ||
| os.c | ||
| sdl.c | ||
| start.c | ||
| state.c | ||
| u-boot.lds | ||