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

Heap buffer overflow at moddable/xs/sources/xsSyntaxical.c:3562 #432

Closed
kvenux opened this issue Aug 31, 2020 · 2 comments
Closed

Heap buffer overflow at moddable/xs/sources/xsSyntaxical.c:3562 #432

kvenux opened this issue Aug 31, 2020 · 2 comments
Labels
confirmed issue reported has been reproduced fixed - please verify Issue has been fixed. Please verify and close.

Comments

@kvenux
Copy link

kvenux commented Aug 31, 2020

Build environment:

Ubuntu 16.04
gcc 5.4.0
xst version: de64c70 (git hash)
build command:
cd /path/to/moddable/xs/makefiles/lin
make
test command: ./xst poc

Target device:

Desktop Linux

POC

000053.txt

Description

Below is the ASAN outputs. Heap buffer overflow at moddable/xs/sources/xsSyntaxical.c:3562

image
image

@phoddie phoddie added confirmed issue reported has been reproduced question cannot reproduce and removed question cannot reproduce labels Aug 31, 2020
@phoddie
Copy link
Collaborator

phoddie commented Aug 31, 2020

The provided script may be reduced to the following:

function v4 = ()(v6, v7) {
}

@kvenux
Copy link
Author

kvenux commented Sep 1, 2020

The provided script may be reduced to the following:

function v4 = ()(v6, v7) {
}

Great. I have checked. This test case can be trimmed in this way.

mkellner pushed a commit that referenced this issue Sep 3, 2020
mkellner pushed a commit that referenced this issue Sep 3, 2020
@phoddie phoddie added the fixed - please verify Issue has been fixed. Please verify and close. label Sep 3, 2020
@kvenux kvenux closed this as completed Sep 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed issue reported has been reproduced fixed - please verify Issue has been fixed. Please verify and close.
Projects
None yet
Development

No branches or pull requests

2 participants