|
Message-ID: <CAKHv7pg9FNXdnjzPc5DabC7-cuOvSS4g9=XgbbPTT_9xS8DJiQ@mail.gmail.com>
Date: Sat, 19 Oct 2013 22:57:00 +0200
From: Paul Schutte <sjpschutte@...il.com>
To: musl@...ts.openwall.com
Subject: inet_pton problem
Hi,
I came across this and believe it is a bug.
I have found that when you set str to an IPv4 addr of the from
"xxx.xxx.xxx.xxx' while the address family is AF_INET6, then instead of
returning a 0 to indicate an invalid IPv6 string, it is converted to
gibberish.
inet_pton(AF_INET6, "192.168.1.1', &sa) should return 0 if I understand the
specification correctly.
Regards
Paul
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.