From: Tom Rini Date: Sat, 7 Oct 2017 09:09:04 -0400 Subject: [U-Boot] test/dm: Fix string handling issues in the eth test In-Reply-To: <1506449310-19066-1-git-send-email-trini@konsulko.com> References: <1506449310-19066-1-git-send-email-trini@konsulko.com> Message-ID: <20171007130904.GE25966@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Sep 26, 2017 at 02:08:30PM -0400, 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 > Cc: Simon Glass > Cc: Bin Meng > Signed-off-by: Tom Rini > Reviewed-by: Simon Glass > Reviewed-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: