delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/03/17/05:05:42

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: autossh crash with 20050314 and earlier cygwin1.dll
Date: Thu, 17 Mar 2005 10:04:26 -0000
MIME-Version: 1.0
In-Reply-To: <20050316192056.GB20987@trixie.casa.cgf.cx>
Message-ID: <SERRANO1RVvbHnmGouU00000070@SERRANO.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 17 Mar 2005 10:04:25.0855 (UTC) FILETIME=[B34010F0:01C52AD8]

----Original Message----
>From: Christopher Faylor
>Sent: 16 March 2005 19:21

> On Wed, Mar 16, 2005 at 06:06:20PM -0000, Dave Korn wrote:

>> dk AT mace /gnu/glibc-2.3.4/resolv> cat -n gethnamaddr.c
>>   [........snip!........] 103
>>   104  static struct hostent host;
>>   105  static char *host_aliases[MAXALIASES];
>>   106  static char hostbuf[8*1024];
>> [........snip!........]
>> 
>>  Well, it also uses a static buffer.  Guess glibc free (...) must be more
>> robust in the presence of garbage input than newlib free (...), although
>> that's odd, since they're both based on dl-malloc under the hood.
> 
> Cygwin doesn't use newlib's free.
> 
> cgf


  doh, of course it doesn't.  But it is still dlmalloc.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019