]> git.baikalelectronics.ru Git - uboot.git/commit
fastboot: Fix possible buffer overrun
authorSean Anderson <seanga2@gmail.com>
Thu, 11 Mar 2021 05:15:44 +0000 (00:15 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 12 Apr 2021 21:44:55 +0000 (17:44 -0400)
commit450ee98a3e5b5f9288f2493b7dc2b52ed5a4efb8
treead9e9b49513373d27ced4b86bb4637550acbbffc
parent70457a62817dc5963c1ab2d5aae70ea2440ff2ec
fastboot: Fix possible buffer overrun

This fixes several uses of strn(cpy|cat) which did not terminate their
destinations properly.

Fixes b259eaa71c ("fastboot: Allow u-boot-style partitions")

Reported-by: Coverity Scan
Signed-off-by: Sean Anderson <seanga2@gmail.com>
drivers/fastboot/fb_mmc.c