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

2023-02-03 Thread Tom Rini
On Fri, Jan 13, 2023 at 09:27:41AM -0800, emohand...@linux.microsoft.com wrote: > From: Ehsan Mohandesi > > 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 functi

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

2023-01-16 Thread Vyacheslav V. Mitrofanov
On Fri, 2023-01-13 at 09:27 -0800, emohand...@linux.microsoft.com wrote: > From: Ehsan Mohandesi > > 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 t

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

2023-01-13 Thread emohandesi
From: Ehsan Mohandesi 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 Mo