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
Commit: 51da1551
Version: v3.0.0
Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)
./tools/build.py --clean --debug --compile-flag=-fsanitize=address --compile-flag=-m32 --lto=off --logging=on --line-info=on --error-message=on --system-allocator=on --profile=es2015-subset --stack-limit=20
let array = new Array(1); array.splice(1, 0, array); array.flat(Infinity);
$ ./jerryscript/build/bin/jerry poc.js ASAN:DEADLYSIGNAL ================================================================= ==26613==ERROR: AddressSanitizer: stack-overflow on address 0xff535ffc (pc 0x5661347c bp 0xff536090 sp 0xff536000 T0) #0 0x5661347b in ecma_lcache_lookup /root/jerryscript/jerry-core/ecma/base/ecma-lcache.c:144 #1 0x569cde1f (/root/jerryscript/build/bin/jerry+0x477e1f) SUMMARY: AddressSanitizer: stack-overflow /root/jerryscript/jerry-core/ecma/base/ecma-lcache.c:144 in ecma_lcache_lookup ==26613==ABORTING
Credits: Found by OWL337 team.
The text was updated successfully, but these errors were encountered:
Add stack-overflow check for Array.prototype.{flat, flatMap}
99c81be
This patch fixes jerryscript-project#4890 JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
Add stack-overflow check for Array.prototype.{flat, flatMap} (#4899)
bcc711e
This patch fixes #4890 JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu
rerobika
Successfully merging a pull request may close this issue.
JerryScript revision
Commit: 51da1551
Version: v3.0.0
Build platform
Ubuntu 18.04.5 LTS (Linux 5.4.0-44-generic x86_64)
Build steps
Test case
Execution steps & Output
$ ./jerryscript/build/bin/jerry poc.js ASAN:DEADLYSIGNAL ================================================================= ==26613==ERROR: AddressSanitizer: stack-overflow on address 0xff535ffc (pc 0x5661347c bp 0xff536090 sp 0xff536000 T0) #0 0x5661347b in ecma_lcache_lookup /root/jerryscript/jerry-core/ecma/base/ecma-lcache.c:144 #1 0x569cde1f (/root/jerryscript/build/bin/jerry+0x477e1f) SUMMARY: AddressSanitizer: stack-overflow /root/jerryscript/jerry-core/ecma/base/ecma-lcache.c:144 in ecma_lcache_lookup ==26613==ABORTINGCredits: Found by OWL337 team.
The text was updated successfully, but these errors were encountered: