From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6824 Path: news.gmane.org!not-for-mail From: Matthew Fernandez Newsgroups: gmane.linux.lib.musl.general Subject: Network error strings Date: Mon, 12 Jan 2015 16:11:02 +1100 Message-ID: <54B35766.4030902@nicta.com.au> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1421039485 23451 80.91.229.3 (12 Jan 2015 05:11:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Jan 2015 05:11:25 +0000 (UTC) To: Original-X-From: musl-return-6837-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jan 12 06:11:20 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YAXHb-0007Vk-RF for gllmg-musl@m.gmane.org; Mon, 12 Jan 2015 06:11:19 +0100 Original-Received: (qmail 7874 invoked by uid 550); 12 Jan 2015 05:11:14 -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 7866 invoked from network); 12 Jan 2015 05:11:13 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 X-TM-AS-Product-Ver: SMEX-11.0.0.1251-7.500.1018-21242.005 X-TM-AS-Result: No--7.379500-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Xref: news.gmane.org gmane.linux.lib.musl.general:6824 Archived-At: Hi all, In the file src/network/gai_strerror.c all error messages are terminated wi= th an explicit NUL byte, except the last that has a NUL byte preceding it. Is this correct? I don't = have a deep understanding of this code, so apologies if this is intentional. It just jumped out at me= today as unusual. Thanks, Matt ________________________________ The information in this e-mail may be confidential and subject to legal pro= fessional privilege and/or copyright. National ICT Australia Limited accept= s no liability for any damage caused by this email or its attachments.