|
Message-ID: <a7e32d88-2b5f-e9f9-8108-7fdb3958a130@ripe.net> Date: Mon, 4 Jun 2018 15:57:09 +0200 From: Philip Homburg <philip.homburg@...e.net> To: musl@...ts.openwall.com Subject: inet_ntop bug in 1.1.19 (Please CC me on any replies, I'm not subscribed to the list) inet_ntop doesn't conform to RFC 5952 (A Recommendation for IPv6 Address Text Representation). I attached a test program to demonstrate the issue and a patch: $ cc inet_ntop_test.c musl-1.1.19/src/network/inet_ntop.c $ ./a.out Section 4.2.2 test failed: got 2001:db8::1:1:1:1:1, expected 2001:db8:0:1:1:1:1:1 Found 1 error. View attachment "inet_ntop_test.c" of type "text/plain" (2273 bytes) View attachment "inet_ntop.c.patch" of type "text/plain" (327 bytes)
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.