Created
March 7, 2009 10:12
-
-
Save bschmalhofer/75298 to your computer and use it in GitHub Desktop.
segfault fixed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this causes segfault for Parrot 37155 and Pipp 3a345b61a4e64c240776212abfc204ad819f495f | |
# Fixed by Christoph Otto | |
.sub main :main | |
$P0 = loadlib "pipp_group" | |
.local pmc p | |
p = new 'PhpArray' | |
p[-124] = 0 # next_index should be 0 (assign -124) | |
.local pmc it | |
it = iter p | |
.local pmc key | |
key = shift it | |
.end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment