This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Re[5]: setup-2.243 Crash / Install from Local Directory / WinXP




> -----Original Message-----
> From: Pavel Tsekov [mailto:ptsekov@syntrex.com] 
> Sent: Thursday, May 23, 2002 2:31 AM
> To: Robert Collins
> Cc: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]