Skip to content
Snippets Groups Projects
Commit 7db25d99 authored by Ehsan Mohandesi's avatar Ehsan Mohandesi Committed by Tom Rini
Browse files

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: default avatarEhsan Mohandesi <emohandesi@microsoft.com>
Reviewed-by: default avatarViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
parent 796e5498
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment