Files
ladybird/Libraries/LibCore/EventReceiver.h
Zaggy1024 8c96f7b3aa LibCore: Stop atomically ref-counting EventReceiver
Inheriting from AtomicRefCounted and Weakable is asking for misuse of
WeakPtr to result in TOCTOU-caused UAFs.

In order to ensure we're not misusing EventReceiver across threads, I
ran test-web and some sites with a temporary hack to verify that ref()s
and unref()s are always called from the same thread on the class.
2026-03-02 17:06:39 -06:00

2.3 KiB