From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: Re: inet_pton
Date: Tue, 22 Oct 2013 00:25:17 +0200 [thread overview]
Message-ID: <20131021222517.GH1685@port70.net> (raw)
In-Reply-To: <CAKHv7pj0zVDkd1DvoRU80axPZ-dF+yjxZqRNaHeQyo3jekAn2w@mail.gmail.com>
* Paul Schutte <sjpschutte@gmail.com> [2013-10-21 21:59:16 +0200]:
> I have tested the suggested fix and this is the result:
i've added your test cases to libc-test and some more
which revealed further issues
src/functional/inet_pton.c:59: inet_pton(AF_INET, "1.2.3.", addr) returned 1, want 0
src/functional/inet_pton.c:60: inet_pton(AF_INET, "1.2.3.4.5", addr) returned 1, want 0
src/functional/inet_pton.c:62: inet_pton(AF_INET, "1.2.03.4", addr) returned 1, want 0
src/functional/inet_pton.c:68: inet_pton(AF_INET6, ":", addr) returned 1, want 0
src/functional/inet_pton.c:73: inet_pton(AF_INET6, ":192.168.1.1", addr) returned 1, want 0
src/functional/inet_pton.c:75: inet_pton(AF_INET6, ":ffff:192.168.1.1", addr) returned 1, want 0
src/functional/inet_pton.c:81: inet_pton(AF_INET6, ":ffff:c0a8:5e4", addr) returned 1, want 0
next prev parent reply other threads:[~2013-10-21 22:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAKHv7pi-VhjkzOpUuz3RBachSPfPOHXN09G7rhM9uFtw4ri2-A@mail.gmail.com>
2013-10-21 2:08 ` inet_pton Rich Felker
2013-10-21 19:59 ` inet_pton Paul Schutte
2013-10-21 22:25 ` Szabolcs Nagy [this message]
2013-10-21 23:20 ` Szabolcs Nagy
2013-10-25 15:44 ` Rich Felker
2013-10-26 13:22 ` Paul Schutte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131021222517.GH1685@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).