diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2021-07-30 14:23:54 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-10-12 16:48:38 -0400 |
commit | 5f9338ad56e6b1168905e73ecfcd5e1b7b1a32e2 (patch) | |
tree | 184249a4abc8d83ac446fc66eb237c0f7b3c067b /drivers/ddr/microchip/ddr2.c | |
parent | 776bf6a5457eb0c61c367d1ee7e45733a1c72ed6 (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>
Diffstat (limited to 'drivers/ddr/microchip/ddr2.c')
0 files changed, 0 insertions, 0 deletions