delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/23/05:53:11

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
MIME-Version: 1.0
Subject: RE: Re[5]: setup-2.243 Crash / Install from Local Directory / WinXP
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
Date: Thu, 23 May 2002 19:47:26 +1000
Message-ID: <FC169E059D1A0442A04C40F86D9BA7600C6145@itdomain003.itdomain.net.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Pavel Tsekov" <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g4N9r9n07875


> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov AT syntrex DOT com] 
> Sent: Thursday, May 23, 2002 2:31 AM
> To: Robert Collins
> Cc: cygwin AT cygwin DOT com
> Subject: Re[5]: setup-2.243 Crash / Install from Local 
> Directory / WinXP
> 
> 
> Hello Robert,
> 
> Well, this will fix the problem, but String::substr() will 
> still cause a crash if for some reason a NULL pointer is 
> passed to it! Btw have you read my mail till the end ?

Yes. The String++ implementation currently uses the <string> std class
to implement substr. From a quick inspection the fault is in the
string() constructor not returning an empty string when NULL is passed
to it.

Rob

--
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