bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re2: Crash when trying to load corrupt file with NSDictionary -initW


From: David Ayers
Subject: Re: Re2: Crash when trying to load corrupt file with NSDictionary -initWithContentsOfFile:
Date: Thu, 30 Jun 2005 13:14:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

Richard Frith-Macdonald wrote:

> 
> 
> Wierd ... that didn't happen to me.
> In the code I comitted, it should be impossible to fall through to the
> ST_CSTRING case, as we have three possible paths through the ST_XREF case:
> 
> 1. the array is uninitialised and we raise an exception.
> 2. the array index is invalid and we raise an exception.
> 3. we return the cross referenced object from the array.
> 
> I deleted my local copy and checked it out from CVS, and the checked out
> code looks fine ... so perhaps your version is messed up somehow.  Could
> you try deleting your local copy and checking out a fresh copy of the file?

FWIW, remember that -raise technically can return!  See the past
discussion about the uncaught exception handler in -gui.

Cheers,
David




reply via email to

[Prev in Thread] Current Thread [Next in Thread]