chakra-core / chakra-core/ChakraCore

null pointer dereference in Js::RecyclableObject::GetType

Open
#6,204 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

the following poc can trigger a null pointer dereference.
````
function f() {
try {
throw 1;
} catch ({a = f.__proto__.__proto__=a}) {
}
}

f();
````

Contributor guide

Open the contributing guide

Research direction

Start by running the provided JavaScript proof of concept and tracing the failure at Js::RecyclableObject::GetType. Determine the missing null handling in that entry point; done means the proof of concept no longer triggers a null pointer dereference.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, javascript
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.