Skip to content

ghc-heap: Don't Box NULL pointers

Ben Gamari requested to merge wip/T21622 into master

Previously we could construct a Box of a NULL pointer from the link field of StgWeak. Now we take care to avoid ever introducing such pointers in collect_pointers and ensure that the link field is represented as a Maybe in the Closure type.

Fixes #21622 (closed)

Merge request reports