-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GC] fix GC segfault with --optimize
A wrong PARROT_CANNOT_RETURN_NULL in Parrot_pf_get_current_code_segment (unchecked return of inter->code, which can be null) causes GC segfaults when inter->code == NULL. Fixes GH #1186. This wrong PARROT_CANNOT_RETURN_NULL was added with 3.6.0 in 7dc0e22 at Wed Jun 29 20:52:24 2011 but started being fatal after the new packfile refactor with 7.0, when the cc optimizer started optimizing away the bc != NULL check in mark_code_segment()
- Loading branch information
Reini Urban
committed
Jan 22, 2015
1 parent
4d173db
commit 966da74
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
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 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 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