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
Segfault in pack #8623
Comments
From dgay@acm.orgCreated by dgay@acm.orgThe following program will cause a segfault on perl 5.8.5 and 5.9.4: The following patch (for, and tested on, 5.9.4) fixes this: Inline Patch--- pp_pack.c 2006-09-28 17:21:31.000000000 -0700
+++ pp_pack.c.new 2006-09-28 16:56:14.000000000 -0700
@@ -2630,6 +2630,7 @@
if (savsym.howlen == e_star && beglist == endlist)
break; /* No way to continue */
}
+ items = endlist - beglist;
lookahead.flags = symptr->flags & ~group_modifiers;
goto no_change;
}
Perl Info
|
From @rgsdgay@acm.org (via RT) wrote:
Thanks, I applied your patch as change #28917 to bleadperl. |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#40427 (status was 'resolved')
Searchable as RT40427$
The text was updated successfully, but these errors were encountered: