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

Infoleak #1375

Open
7331akasokoan opened this issue Aug 26, 2024 · 0 comments
Open

Infoleak #1375

7331akasokoan opened this issue Aug 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@7331akasokoan
Copy link

commit: d398f1e

build setting:

cmake -DCMAKE_CXX_FLAGS=-fsanitize=address -DESCARGOT_MODE=debug -DESCARGOT_OUTPUT=shell -GNinja

poc.js:

var v0 = false;
try {
try { throw {}; } catch ({a = (print(a), b), b}) { }
} catch (e) {
v0 = true;
}

Bash Result:

/escargot ./poc.js
escargot: /home/fuzzer/escargot/src/runtime/Object.h:648: bool Escargot::ObjectGetResult::isDataProperty() const: Assertion `hasValue()' failed.
Aborted
/escargot ./poc.js
/escargot ./poc.js
83456213.01425552
/escargot ./poc.js
-1.7740938470966771e-181
/escargot ./poc.js
/escargot ./poc.js
-60.507442331163475
@7331akasokoan 7331akasokoan added the bug Something isn't working label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@7331akasokoan and others