[U-Boot] [PATCH] test/dm: Fix string handling issues in the eth test
Joe Hershberger
joe.hershberger at ni.com
Tue Sep 26 19:53:33 UTC 2017
On Tue, Sep 26, 2017 at 1:08 PM, Tom Rini <trini at konsulko.com> wrote:
> Coverity scan has identified potential buffer overruns in these tests.
> Correct this by zeroing our buffer and using strncpy not strcpy.
>
> Reported-by: Coverity (CID: 155462, 155463)
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Bin Meng <bmeng.cn at gmail.com>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Reviewed-by: Joe Hershberger <joe.hershberger at ni.com>
More information about the U-Boot
mailing list