[PATCH] net: ipv6: Fixed IPv6 string to address conversion off-by-one error

Tom Rini trini at konsulko.com
Fri Feb 3 19:20:16 CET 2023


On Fri, Jan 13, 2023 at 09:27:41AM -0800, emohandesi at linux.microsoft.com wrote:

> From: Ehsan Mohandesi <emohandesi at microsoft.com>
> 
> One extra character was being checked in the IPv6 string which caused the
> last character of the address to be neither '\0' nor ':'. This raises an
> error condition and causes the function to always return an error. This
> issue was resolved by this fix.
> 
> Signed-off-by: Ehsan Mohandesi <emohandesi at microsoft.com>
> Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov at yadro.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/20230203/8f1ac854/attachment.sig>


More information about the U-Boot mailing list