[PATCH v3] IOMUX: Fix buffer overflow in iomux_replace_device()

Tom Rini trini at konsulko.com
Tue Apr 27 18:46:43 CEST 2021


On Mon, Apr 26, 2021 at 08:08:03AM +0900, Yuichiro Goto wrote:

> Use of strcat() against an uninitialized buffer would lead
> to buffer overflow. This patch fixes it.
> 
> Fixes: 694cd5618c ("IOMUX: Introduce iomux_replace_device()")
> Signed-off-by: Yuichiro Goto <goto at k-tech.co.jp>
> Cc: Peter Robinson <pbrobinson at gmail.com>
> Cc: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Cc: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> Tested-by: Peter Robinson <pbrobinson 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/20210427/1776de39/attachment.sig>


More information about the U-Boot mailing list