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
utf8 POPSTACK crash on split execution #7362
Comments
From rconover@infogears.comCreated by rconover@infogears.comWhile attempting to do a split call in a Safe compartment Code to reproduce crash: use Safe; Code that executes as normal: use Safe; I'm trying to autoload the utf8 stuff into the safe compartment Any help greatly appreciated. Thanks, Rusty Perl Info
|
From @iabynOn Sun, Jun 13, 2004 at 10:27:07PM -0000, Rusty Conover wrote:
Thanks for the report. What's happening is as follows: Because the string being split is UTF8 encoded, exceuting the regex The patch below fixes it - it's been applied to the current development Nick - I'm not sure this should be integrated into 5.8.x - all this Dave. -- Change 23023 by davem@davem-percy on 2004/07/02 01:49:11 [perl #30258] utf8 POPSTACK crash on split execution Affected files ... ... //depot/perl/pp.c#420 edit Differences ... ==== //depot/perl/pp.c#420 (text) ==== @@ -4439,7 +4439,6 @@ - LEAVE_SCOPE(oldsave); + PUTBACK; ==== //depot/perl/scope.c#123 (text) ==== @@ -1063,6 +1063,15 @@ ==== //depot/perl/scope.h#66 (text) ==== @@ -48,6 +48,7 @@ #ifndef SCOPE_SAVES_SIGNAL_MASK +#define SAVESWITCHSTACK(f,t) \ |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'resolved' |
From @rgsDave Mitchell wrote:
Ooh, that's clever :) although perhaps a bit late for maint, I agree.
|
From nick@ing-simmons.netRafael Garcia-Suarez <rgarciasuarez@mandrakesoft.com> writes:
Seconded - a neat idea.
Maybe the next one once it has been tested a bit.
|
Migrated from rt.perl.org#30258 (status was 'resolved')
Searchable as RT30258$
The text was updated successfully, but these errors were encountered: