[PATCH] fastboot: fix partition name truncation in environment lookup
Tom Rini
trini at konsulko.com
Wed Oct 13 16:16:16 CEST 2021
On Fri, Jul 30, 2021 at 02:23:54PM +0200, Matthias Schiffer wrote:
> strlcat() need to be passed the full buffer length. The incorrect call
> caused truncation of partition names for fastboot_raw_partition_... and
> fastboot_partition_alias_... env lookup to much less than PART_NAME_LEN.
>
> Fixes: 69a752983171 ("fastboot: Fix possible buffer overrun")
> Signed-off-by: Matthias Schiffer <matthias.schiffer at ew.tq-group.com>
> Reviewed-by: Sean Anderson <seanga2 at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20211013/625cbd38/attachment.sig>
More information about the U-Boot
mailing list