develooper Front page | perl.perl5.porters | Postings from November 2010

Re: "perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <= sizeof(PL_last_swash_key)' failed." [5.12.1]

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
November 28, 2010 14:31
Subject:
Re: "perl: utf8.c:1997: Perl_swash_fetch: Assertion `klen <= sizeof(PL_last_swash_key)' failed." [5.12.1]
Message ID:
20101128223142.GW24189@plum.flirble.org
On Sun, Nov 28, 2010 at 02:26:51PM -0800, Reverend Chip wrote:
> On 11/28/2010 2:34 AM, demerphq wrote:

> > However if it means we have to validate the string every time we do a
> > utf8 operation then I would say you are wrong.
> 
> Slippery slope fallacy.

Why so?

You're using that phrase to avoid answering the question, and defining a
clear policy on when the core should double check the consistency of state,
and when it's allowed to assume that it's not been lied to.

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About