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
goto &xsub that croaks corrupts memory #7918
Comments
From @salvaCreated by @salvaCroaking from a XSUB called via goto &xsub corrupts perl internals. Run tryme.pl from the module attached to see it happening: $ ./tryme.pl Perl Info
|
From @iabynOn Thu, May 19, 2005 at 12:22:07PM -0000, Salvador Fandiño wrote:
The file you attached, goto_and_croak-0.01.tar.gz, does not appear to -- |
The RT System itself - Status changed from 'new' to 'open' |
From @nwc10On Thu, May 19, 2005 at 01:53:16PM +0100, Dave Mitchell wrote:
It's become UTF-8 encoded. Using my handy de-utf-8 tool: $ perl -C1 -pe0 <goto_and_croak-0.01.tar.gz | tar tfz - I'm not sure if this a bug in RT, or in the mail system at bugs.perl.org, Nicholas Clark |
From @iabynOn Thu, May 19, 2005 at 02:15:11PM +0100, Nicholas Clark wrote:
Oooh, shiney :-) I can reproduce the goto bug in bleed. I'm a bit busy at the moment, -- |
From @obra
All attachments or all text/* attachments?
-- |
From @iabyn
Now fixed in bleed with the change below. -- Change 24535 by davem@davem-splatty on 2005/05/21 22:10:19 [perl #35878] goto &xsub that croaks corrupts memory Affected files ... ... //depot/perl/pp_ctl.c#438 edit Differences ... ==== //depot/perl/pp_ctl.c#438 (text) ==== @@ -2343,6 +2343,7 @@ + /* XS subs don't have a CxSUB, so pop it */ ==== //depot/perl/t/op/goto_xs.t#5 (xtext) ==== @@ -20,7 +20,7 @@ -print "1..10\n"; # We don't know what symbols are defined in platform X's system headers. $ret = call_goto_ref($VALID); |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#35878 (status was 'resolved')
Searchable as RT35878$
The text was updated successfully, but these errors were encountered: