Skip to content
Snippets Groups Projects
Commit 645d1ec0 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by thoughtpolice
Browse files

rts/Capability.c: fix crash in -threaded mode on UNREG build


UNREG mode has quite nasty invariant to maintain:
    capabilities[0] == &MainCapability

and it's a non-heap memory, while other
capabilities are dynamically allocated.

Issue #8748

Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
(cherry picked from commit ebace696)
parent ce3cb705
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment