Re: [PATCH] fastboot: fix partition name truncation in environment lookup

2021-10-13 Thread Tom Rini
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. > > Fixe

Re: [PATCH] fastboot: fix partition name truncation in environment lookup

2021-09-28 Thread Matthias Schiffer
On Fri, 2021-07-30 at 10:04 -0400, Sean Anderson wrote: > On 7/30/21 8:23 AM, 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 t

Re: [PATCH] fastboot: fix partition name truncation in environment lookup

2021-07-30 Thread Sean Anderson
On 7/30/21 8:23 AM, 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

[PATCH] fastboot: fix partition name truncation in environment lookup

2021-07-30 Thread Matthias Schiffer
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: Matth