Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix null dereference in check_finalizer_nested if redirect malloc on …
…Linux (a cherry-pick of commit 0408c6e from 'master') Issue #582 (bdwgc). As noted in GC_start_routine, an allocation may happen in GC_get_stack_base, causing GC_notify_or_invoke_finalizers to be called before the thread gets registered. * pthread_support.c [!GC_NO_FINALIZATION && INCLUDE_LINUX_THREAD_DESCR && REDIRECT_MALLOC] (GC_check_finalizer_nested): If me variable is NULL then return NULL; add comment.
- Loading branch information