1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:18:11 +00:00
serenity/Userland/Libraries/LibJS
Andreas Kling 803a20fa86 LibJS: Call the correct base class in LexicalEnvironment::visit_edges()
We were calling directly up to Cell, skipping over ScopeObject.
This made us not mark the scope chain parent for lexical environments,
sometimes causing them to get GC'd and use-after-free'd.

Found by Fuzzilli.

Fixes #5140.
2021-01-28 10:15:24 +01:00
..
Heap Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
Runtime LibJS: Call the correct base class in LexicalEnvironment::visit_edges() 2021-01-28 10:15:24 +01:00
Tests LibJS: Add overflow checks when creating TypedArray from ArrayBuffer 2021-01-27 07:57:07 +01:00
AST.cpp LibJS: Remove redundant exception check from ClassExpression::execute() 2021-01-24 00:40:22 +01:00
AST.h LibJS: Replace ASTNode::class_name() with RTTI 2021-01-17 14:36:53 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Console.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Console.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Forward.h LibJS: Add JS::NativeFunction to the forwarding header 2021-01-18 12:18:29 +01:00
Interpreter.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Interpreter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Lexer.cpp Everywhere: Hook up remaining debug macros to Debug.h. 2021-01-25 09:47:36 +01:00
Lexer.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MarkupGenerator.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
MarkupGenerator.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Parser.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Parser.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SourceRange.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Token.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Token.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00