Re: Security Update 2005-006 and -[NSString length]
Re: Security Update 2005-006 and -[NSString length]
- Subject: Re: Security Update 2005-006 and -[NSString length]
- From: Christian Schneider <email@hidden>
- Date: Fri, 17 Jun 2005 15:55:23 +0200
Axel,
thanks a lot.
I might have been mistaken, that the code worked properly before -
although I think it did - but I am absolutely sure that the expansion
to three characters and thus to the infinite loop only happened after
the security update.
chris
On 6/17/05, Axel Andersson <email@hidden> wrote:
> On Jun 17, 2005, at 14:46, Christian Schneider wrote:
>
> > we have the following code where the three dots should actually be one
> > Unicode character (alt-.). The code shortens a string by replacing the
> > last two characters with "..." as long as the width needed to draw the
> > string exceeds some reference width.
>
> Interesting if it can be isolated to a single software update. One
> thing that jumped to my mind however, is that using Unicode
> characters in @"" constructs is illegal. Maybe you should try using
> one of the techniques Ali Ozer describes in his e-mail at http://
> www.cocoabuilder.com/archive/message/2005/3/30/131791. The three dots
> character is called HORIZONTAL ELLLIPSIS and resides at Unicode
> codepoint 0x2026.
>
> -- Axel
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden