Fix segfault in thread_mark
authorAndy Wingo <wingo@pobox.com>
Fri, 21 Feb 2014 13:42:24 +0000 (14:42 +0100)
committerAndy Wingo <wingo@pobox.com>
Fri, 21 Feb 2014 13:42:24 +0000 (14:42 +0100)
commitc65ea594e92ebf6fb30ece92b063501c8abedf72
tree4eb82ca2cd616c97d2ad4b18bf6dc627b47f4aff
parentc53d0f01ddebea16f816349c9813fe9ffdd38a1d
Fix segfault in thread_mark

* libguile/threads.c (thread_mark): There is a window in which the
  thread has a handle but doesn't yet have the set of pointerless
  freelists, so don't unconditionally dereference
  t->pointerless_freelists.
libguile/threads.c