[Gc] Segfault in GC_mark_from

Bruce Hoult bruce at hoult.org
Wed Oct 22 15:50:15 PDT 2008


2008/10/23 Ivan Maidanski <ivmai at mail.ru>:
> So, I think, GC_general_register_disappearing_link() should be changed either:
> - by adding an assertion for obj argument (HDR(obj) != NULL); or
> - by doing the same as in GC_register_finalizer_inner() ("if (hhdr == NULL) return 0").

GC_register_disappearing_link() has the additional sanity checking you ask for.


More information about the Gc mailing list