[PATCH] pinctrl: fix buffer size for pinctrl_generic_set_state_prefix()

Tom Rini trini at konsulko.com
Tue Oct 11 23:36:46 CEST 2022


On Wed, Sep 07, 2022 at 12:11:42PM +0100, John Keeping wrote:

> This buffer has the concatenated prefix and name written into it, so it
> must be large enough to cover both strings plus the terminating NUL.
> 
> Fixes: 92c4a95ec7 ("pinctrl: Add new function pinctrl_generic_set_state_prefix()")
> Signed-off-by: John Keeping <john at metanate.com>
> Reviewed-by: Pali Rohár <pali at kernel.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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/20221011/f32bea12/attachment-0001.sig>


More information about the U-Boot mailing list