Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix segfault bug when write-barriering CStruct REPRd objects.
child_objs is now allocated with mem_sys_allocate_zeroed, and a child object is ignored if child_objs[i] is NULL. This fixes a bug where write-barriering would trip over a bogus pointer when write-barriering a struct returned from C and a field was unread before passing it to another C function.
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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