chakra-core / chakra-core/ChakraCore
null pointer dereference in Js::RecyclableObject::GetType
Open
- 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
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