Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTF-8 length cached in I32 #10184

Closed
p5pRT opened this issue Feb 18, 2010 · 4 comments
Closed

UTF-8 length cached in I32 #10184

p5pRT opened this issue Feb 18, 2010 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 18, 2010

Migrated from rt.perl.org#72924 (status was 'resolved')

Searchable as RT72924$

@p5pRT
Copy link
Author

p5pRT commented Feb 18, 2010

From @nwc10

The character length of a string is cached in the magic struct in an I32.
There's a work around in Perl_sv_len_utf8() to avoid storing overlong values
and consequentially panicking the cache verification code, but that remains
a work around, rather than a solution.

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Jul 24, 2013

From @cpansprout

On Thu Feb 18 07​:42​:48 2010, nicholas wrote​:

The character length of a string is cached in the magic struct in an I32.
There's a work around in Perl_sv_len_utf8() to avoid storing overlong
values
and consequentially panicking the cache verification code, but that
remains
a work around, rather than a solution.

This was fixed as a side-effect of 6174b39. I removed the workaround in
ab0894e.

--

Father Chrysostomos

@p5pRT
Copy link
Author

p5pRT commented Jul 24, 2013

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jul 24, 2013

@cpansprout - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant