Skip to content

Instantly share code, notes, and snippets.

@bschmalhofer
Created March 7, 2009 10:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bschmalhofer/75298 to your computer and use it in GitHub Desktop.
Save bschmalhofer/75298 to your computer and use it in GitHub Desktop.
segfault fixed
# 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment