Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure at lib/Runtime/Library/JavascriptArray.cpp:5766 #6031

Open
leeswimming opened this issue Mar 13, 2019 · 0 comments
Open

Assertion failure at lib/Runtime/Library/JavascriptArray.cpp:5766 #6031

leeswimming opened this issue Mar 13, 2019 · 0 comments
Assignees

Comments

@leeswimming
Copy link

The debug build crashes with assertion failure at lib/Runtime/Library/JavascriptArray.cpp:5766.
PoC:

const var_0 = new Uint8Array([1, 2, 3, 4]);                                        
Object.defineProperty(var_0, 'length', { value: 4398046507008 });                  
Array.prototype.reverse.call(var_0);

Commit: 62d3d11
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64

atulkatti added a commit to atulkatti/ChakraCore that referenced this issue Sep 11, 2019
…rseHelper fails to recognize that this could be a TypedArray and seems to fail earlier than it should unable to find the Reverse method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants