X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=eOPNWMqD5hmQ8A2u8ZeEyJXJegcuK DQAZak+7KjPsy6L3jKYMtRGL275ECzo1IMooxAORldxWEozkRPMBvTXavR3zD1Gi CuGNUWrIqqnj+WESaMpBNLKi9g5NaiKHp1J3cdUD8LjovLlabrZugmIFWQ/dMFeL CerUUcoSBF4nP0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=DLnkhlWYxaFDk7Jqpzbo3uyeIQQ=; b=TUY A6RySI9onbW+Kqkj354xEMtwX+PcW4DZDeTSNsodHGoQud/vTTJ0bqb/VhigxO3k tdrbwdIZ+mxbcUOL5BWcAAY71H7xyzAU6GqPHQttf5Ziwh3Ocsel8Wnhs8hJ3VSm CorLvH5l2Z5E1rTrQV0JHPlUQYgpjAGY18FU8AiA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_05,MIME_BASE64_BLANKS,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: nihxway4out.hub.nih.gov X-SBRS-Extended: Low X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2GvBACqp9NV/4lHKJxdhF6DHsJgAhyBawEBAQEBAQR8C4QjAQEBBBIREVUCAQgYAgIGIAICAh0TFRACBBsaiAyxTYoyliABAQEBBgEBAQEBARyBIooxhFk4gmkvgRQFlSEBCodlhHyaLxcPg32COYEEAQEB X-IPAS-Result: A2GvBACqp9NV/4lHKJxdhF6DHsJgAhyBawEBAQEBAQR8C4QjAQEBBBIREVUCAQgYAgIGIAICAh0TFRACBBsaiAyxTYoyliABAQEBBgEBAQEBARyBIooxhFk4gmkvgRQFlSEBCodlhHyaLxcPg32COYEEAQEB From: "Buchbinder, Barry (NIH/NIAID) [E]" To: "cygwin AT cygwin DOT com" Subject: RE: getent services enumeration glitch Date: Tue, 18 Aug 2015 21:49:23 +0000 Message-ID: <6CF2FC1279D0844C9357664DC5A08BA210A9A230@msgb09.nih.gov> References: <20150818112416 DOT GN17917 AT calimero DOT vinschen DOT de> In-Reply-To: <20150818112416.GN17917@calimero.vinschen.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t7ILncmc025398 Corinna Vinschen sent the following at Tuesday, August 18, 2015 7:24 AM >On Aug 18 09:40, Mark Geisert wrote: >Congratulations! You found a 13 years old bug in Cygwin's getservent >implementation, which returned the port number in host byte order >instead of in network byte order for all this time. Makes me wonder how >often getservent is used in the wild... Not that I know what getent is, let alone having ever used it, shouldn't finding a bug that old merit a gold star? - Barry Disclaimer: Statements made herein are not made on behalf of NIAID.