u-boot/drivers/fastboot
Matthias Schiffer 5f9338ad56 fastboot: fix partition name truncation in environment lookup
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: 69a7529831 ("fastboot: Fix possible buffer overrun")
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
2021-10-12 16:48:38 -04:00
..
fb_command.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
fb_common.c fastboot: Implement generic fastboot_set_reboot_flag 2021-02-07 19:22:54 +01:00
fb_getvar.c fastboot: getvar: fix partition-size return value 2020-09-01 14:47:43 +02:00
fb_mmc.c fastboot: fix partition name truncation in environment lookup 2021-10-12 16:48:38 -04:00
fb_nand.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
Kconfig Kconfig: Remove all default n/no options 2021-08-31 17:47:49 -04:00
Makefile Revert "fastboot: Add default fastboot_set_reboot_flag implementation" 2021-02-07 19:22:54 +01:00