commit | 04a5b0f72c40db982469ecd24070d9674ddb0dda | [log] [tgz] |
---|---|---|
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | Fri Jul 30 14:23:54 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 12 16:48:38 2021 -0400 |
tree | 184249a4abc8d83ac446fc66eb237c0f7b3c067b | |
parent | 5a6815bb79d38beb3c4c199126c07798eb301f10 [diff] |
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: 69a752983171 ("fastboot: Fix possible buffer overrun") Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Reviewed-by: Sean Anderson <seanga2@gmail.com>