commit | 31072ed2fcd7682a3446855ce73f6c621d61536a | [log] [tgz] |
---|---|---|
author | Ehsan Mohandesi <emohandesi@microsoft.com> | Fri Jan 13 09:27:41 2023 -0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Feb 02 14:44:53 2023 -0500 |
tree | 591c0be13f7533905c68d715cdeed0d9d0a2536a | |
parent | c1e3d53b09855ec558b40aea5862eda948a4f761 [diff] |
net: ipv6: Fixed IPv6 string to address conversion off-by-one error 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@microsoft.com> Reviewed-by: Viacheslav Mitrofanov <v.v.mitrofanov@yadro.com>