delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/06/07:37:17

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3BE7D8EF.88C1009A@syntrex.com>
Date: Tue, 06 Nov 2001 13:34:55 +0100
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Gareth Pearce <tilps AT hotmail DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Setup use on win2k - a me too ...
References: <OE59HpQHyD1C0Ug8cpF00003953 AT hotmail DOT com> <3BE7C26E DOT 8BC55189 AT syntrex DOT com> <OE42gLSMARBLBpRwAOk0000cf69 AT hotmail DOT com> <3BE7CC65 DOT B0D03C83 AT syntrex DOT com> <OE30sq4IBz0JZzapAUQ0000cff3 AT hotmail DOT com>

Gareth Pearce wrote:
> 
> Due to the fact that recompiling to latest cvs appears to have fixed the
> problem misteriously ... already ... I was not supprised that adding those
> lines produced
>  ...
> site: ftp://planetmirror.com/pub/sourceware/cygwin
> get_url_to_string ftp://planetmirror.com/pub/sourceware/cygwin/setup.ini
> ftp > 220 PlanetMirror FTP server ready.
> FTP command is USER anonymous
> ftp > 331 Anonymous login ok, send your complete email address as your
> password.
> ftp > 230-
> ftp >   Welcome to the FTP archives at planetmirror.com.   You
> ftp >   can also access these via a web interface reachable from:
> ftp >
> ...
> 
> notice that the log records the 220 before the USER...

This is so because there is a read just after the connect which is
logged

> the log from the time where it consumed memory evilly, it recorded x  as the
> first thing after the get_url_to_string...
> 
> so I would guess that the bug stems previous to that...

IMO if the problem is triggereddepends on who compiled the
setup.exe. The pointers net_ftp_user and net_ftp_passwd are not
zeroed in the code so it's up to the compiler if these are
set to zero or just some random garbage. For example the MS compiler
sets all unitialized variables to zero if you're building debug
version of an app and leaves these as is if you're building release 
unless you specify otherwise explicitly with an compiler option.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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