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

SEGV in mjs_parse_ffi_signature #249

Open
Wayne-Bai opened this issue Jul 21, 2023 · 0 comments
Open

SEGV in mjs_parse_ffi_signature #249

Wayne-Bai opened this issue Jul 21, 2023 · 0 comments

Comments

@Wayne-Bai
Copy link

==23415==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000005088c2 bp 0x7ffc50c52570 sp 0x7ffc50c52400 T0)
==23415==The signal is caused by a READ memory access.
==23415==Hint: address points to the zero page.
    #0 0x5088c2 in mjs_parse_ffi_signature /home/eval/Desktop/mjs-issues-57/mjs.c:9695:21
    #1 0x5034ba in mjs_ffi_call /home/eval/Desktop/mjs-issues-57/mjs.c:10195:7
    #2 0x511bbb in mjs_execute /home/eval/Desktop/mjs-issues-57/mjs.c:9296:11
    #3 0x51c780 in mjs_exec_internal /home/eval/Desktop/mjs-issues-57/mjs.c:9503:5
    #4 0x53512f in mjs_exec_file /home/eval/Desktop/mjs-issues-57/mjs.c:9526:11
    #5 0x53512f in main /home/eval/Desktop/mjs-issues-57/mjs.c:11800:11
    #6 0x7fdc65452c86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310
    #7 0x41cb89 in _start (/home/eval/Desktop/mjs-result/mjs-issues-57/mjs-bin+0x41cb89)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/eval/Desktop/mjs-issues-57/mjs.c:9695:21 in mjs_parse_ffi_signature
==23415==ABORTING

poc-1.zip

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