Re: [U-Boot] [PATCH] test/dm: Fix string handling issues in the eth test

2017-09-26 Thread Joe Hershberger
On Tue, Sep 26, 2017 at 1:08 PM, Tom Rini 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

Re: [U-Boot] [PATCH] test/dm: Fix string handling issues in the eth test

2017-09-26 Thread Simon Glass
On 26 September 2017 at 12:08, Tom Rini 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

[U-Boot] [PATCH] test/dm: Fix string handling issues in the eth test

2017-09-26 Thread Tom Rini
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 Cc: Simon Glass Cc: Bin Meng