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 `vp != resPtr' failed at jsiEval.c:1020: jsiEvalSubscript. #51

Closed
hope-fly opened this issue Dec 24, 2021 · 0 comments
Closed

Assertion `vp != resPtr' failed at jsiEval.c:1020: jsiEvalSubscript. #51

hope-fly opened this issue Dec 24, 2021 · 0 comments

Comments

@hope-fly
Copy link

@hope-fly hope-fly commented Dec 24, 2021

Jsish revision

Commit: 9fa798e

Version: v3.5.0

Build platform

Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)

Build steps
export CFLAGS='-fsanitize=address'
make
Test case
(function(){
    var JSEtest = 1;
    for (var __loopvar3 = 0; JSEtest.length < (1) && __loopvar3 < 3; JSEtest.length++ + __loopvar3++) {
      JSEtest = 1;
    }
})();
Execution steps & Output
$ ./jsish/jsish poc.js
jsish: src/jsiEval.c:1020: jsiEvalSubscript: Assertion `vp != resPtr' failed.
[2]    11225 abort      jsish poc.js

Credits: Found by hopefly from OWL337.

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

1 participant