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-use-after-free at jsi_ArrayFilterCmd src/jsiArray.c:444 #19

Closed
kvenux opened this issue Oct 20, 2020 · 1 comment
Closed

heap-use-after-free at jsi_ArrayFilterCmd src/jsiArray.c:444 #19

kvenux opened this issue Oct 20, 2020 · 1 comment

Comments

@kvenux
Copy link

kvenux commented Oct 20, 2020

Build environment:

Ubuntu 16.04
gcc 5.4.0
version: a6fc196
build command:
export JSI__SANITIZE=1
make
test command: ./jsish poc

Target device:

Desktop Linux

POC

jsish-000335.txt

Description

Below is the ASAN outputs.

image
image
image

@pcmacdon
Copy link
Owner

Another excellent find. Wasn't expecting this to be modified. Fixed now.

d36c885

Also, added protects for other callbacks in Array, just in case.

9f8d022

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