From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4570 Path: news.gmane.org!not-for-mail From: orc Newsgroups: gmane.linux.lib.musl.general Subject: Re: getprotobynumber() misses IPv6 support Date: Thu, 13 Feb 2014 21:25:42 +0800 Message-ID: <28fd9d9e-81ad-41aa-a96f-98e95a123ec2@email.android.com> References: <172ce60f-6695-46c8-9312-bfa1bb15674e@email.android.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1392297957 9175 80.91.229.3 (13 Feb 2014 13:25:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Feb 2014 13:25:57 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4574-gllmg-musl=m.gmane.org@lists.openwall.com Thu Feb 13 14:26:06 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WDwIh-00070t-P6 for gllmg-musl@plane.gmane.org; Thu, 13 Feb 2014 14:25:59 +0100 Original-Received: (qmail 17424 invoked by uid 550); 13 Feb 2014 13:25:56 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17416 invoked from network); 13 Feb 2014 13:25:55 -0000 User-Agent: K-9 Mail for Android In-Reply-To: <172ce60f-6695-46c8-9312-bfa1bb15674e@email.android.com> Xref: news.gmane.org gmane.linux.lib.musl.general:4570 Archived-At: 1 февраля 2014 г. 17:28:55 KRAT, orc пишет: >getprotobynumber() should return valid data at least for IPPROTO_IPV6 >and IPPROTO_ICMPV6. Without this, getprptobynumber() seeks somewhere >beyond limits and causes segfaults somewhere, somewhere returns random >string (is there a typo between "\377raw" and "\0\0" missing comma?). > >"do we really need all these??" >At least core IPv6 is needed :-) Any thoughts on this?