diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-09-14 19:10:27 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-09-15 09:45:13 +0200 |
commit | 85e313077a1eb0c99fa26a07f73fad9ca2542c35 (patch) | |
tree | e22750d48c7c27d7b03779764be22cf695dbf9c5 /Kernel/ThreadBlockers.cpp | |
parent | 3efe611dbfe76a816c837fc02037793fa4e22e61 (diff) | |
download | serenity-85e313077a1eb0c99fa26a07f73fad9ca2542c35.zip |
LibJS: Do not invoke Cell::vm in constructors before Cell is constructed
In a subclass of Cell, we cannot use Cell::vm() before the base Cell
object itself is constructed. Use the Realm's VM instead.
This was caught by UBSAN with vptr sanitation enabled.
Diffstat (limited to 'Kernel/ThreadBlockers.cpp')
0 files changed, 0 insertions, 0 deletions